HIP: Heterogenous-computing Interface for Portability
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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, const std::experimental::filesystem::path &program_folder)
 
bool readLoweredNames ()
 
std::experimental::filesystem::path writeTemporaryFiles (const std::experimental::filesystem::path &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: