HIP: Heterogenous-computing Interface for Portability
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
_hiprtcProgram Struct Reference

Public Member Functions

bool compile (const std::vector< std::string > &args)
 
bool readLoweredNames ()
 
void replaceExtension (std::string &fileName, const std::string &ext) const
 
std::string writeTemporaryFiles (const std::string &programFolder) const
 

Static Public Member Functions

static hiprtcResult destroy (_hiprtcProgram *p)
 
static std::string handleMangledName (std::string name)
 
static _hiprtcProgrammake (std::string s, std::string n, std::vector< std::pair< std::string, std::string >> h)
 
static bool isValid (_hiprtcProgram *p) noexcept
 

Public Attributes

std::vector< std::pair< std::string, std::string > > headers
 
std::vector< std::pair< std::string, std::string > > names
 
std::vector< std::string > loweredNames
 
std::vector< char > elf
 
std::string source
 
std::string name
 
std::string log
 
bool compiled
 

Static Public Attributes

static std::vector< std::unique_ptr< _hiprtcProgram > > programs {}
 
static std::mutex mtx {}
 

The documentation for this struct was generated from the following file: