GPUOcelot
|
A class for referencing preinitialized global variables. More...
#include <Global.h>
Public Member Functions | |
Global () | |
Statement declaring the variable. | |
Global (char *) | |
Initializing constructor. | |
Global (const ir::PTXStatement &) | |
Construct from Statement. | |
Global (const Global &) | |
Copy constructor. | |
~Global () | |
Destructor for preinitialized globals. | |
Global & | operator= (const Global &) |
Assignment. | |
PTXInstruction::AddressSpace | space () const |
Get the address space of the global. | |
const std::string & | name () const |
Get the identifier of the global. | |
Public Attributes | |
bool | local |
void * | pointer |
Is variable set via an initializer. | |
void * | reference |
Pointer to memory base. | |
ir::PTXStatement | statement |
dummy pointer used for lookups |
A class for referencing preinitialized global variables.
ir::Global::Global | ( | ) |
Statement declaring the variable.
Constructor
ir::Global::Global | ( | char * | p | ) |
Initializing constructor.
ir::Global::Global | ( | const ir::PTXStatement & | s | ) |
Construct from Statement.
ir::Global::Global | ( | const Global & | g | ) |
Copy constructor.
ir::Global::~Global | ( | ) |
Destructor for preinitialized globals.
const std::string & ir::Global::name | ( | ) | const |
Get the identifier of the global.
PTXInstruction::AddressSpace ir::Global::space | ( | ) | const |
Get the address space of the global.
bool ir::Global::local |
void* ir::Global::pointer |
Is variable set via an initializer.
void* ir::Global::reference |
Pointer to memory base.
dummy pointer used for lookups