GPUOcelot
|
#include <ExtractedDeviceState.h>
Classes | |
class | Application |
class | GlobalAllocation |
class | KernelLaunch |
class | MemoryAllocation |
class | Module |
Public Types | |
typedef std::map< std::string, ir::Texture * > | TextureMap |
typedef std::map< std::string, GlobalAllocation * > | GlobalVariableMap |
typedef std::map< const void *, MemoryAllocation * > | GlobalAllocationMap |
typedef std::map< std::string, Module * > | ModuleMap |
Public Member Functions | |
ExtractedDeviceState (std::istream &in) | |
constructs from an istream - input must be JSON document | |
ExtractedDeviceState () | |
~ExtractedDeviceState () | |
void | serialize (std::ostream &out) const |
store data in host memory to file | |
void | deserialize (std::istream &in) |
load data from JSON file to host memory | |
void | clear () |
clear all data structures | |
void | clearData () |
Public Attributes | |
Application | application |
data specific to an application | |
ModuleMap | modules |
maps module names onto structure capturing module state | |
GlobalAllocationMap | globalAllocations |
values of global allocations before kernel launch | |
GlobalVariableMap | globalVariables |
values of global variables before the kernel launch | |
GlobalAllocationMap | postLaunchGlobalAllocations |
values of global allocations after kernel launch | |
GlobalVariableMap | postLaunchGlobalVariables |
values of global variables after the kernel launch | |
KernelLaunch | launch |
parameters of CUDA launch |
typedef std::map<const void *, MemoryAllocation*> util::ExtractedDeviceState::GlobalAllocationMap |
typedef std::map<std::string, GlobalAllocation*> util::ExtractedDeviceState::GlobalVariableMap |
typedef std::map<std::string, Module*> util::ExtractedDeviceState::ModuleMap |
typedef std::map<std::string, ir::Texture*> util::ExtractedDeviceState::TextureMap |
util::ExtractedDeviceState::ExtractedDeviceState | ( | std::istream & | in | ) |
constructs from an istream - input must be JSON document
util::ExtractedDeviceState::ExtractedDeviceState | ( | ) |
util::ExtractedDeviceState::~ExtractedDeviceState | ( | ) |
void util::ExtractedDeviceState::clear | ( | ) |
clear all data structures
void util::ExtractedDeviceState::clearData | ( | ) |
void util::ExtractedDeviceState::deserialize | ( | std::istream & | in | ) |
load data from JSON file to host memory
void util::ExtractedDeviceState::serialize | ( | std::ostream & | out | ) | const |
store data in host memory to file
data specific to an application
values of global allocations before kernel launch
values of global variables before the kernel launch
parameters of CUDA launch
maps module names onto structure capturing module state
values of global allocations after kernel launch
values of global variables after the kernel launch