GPUOcelot
Public Member Functions | Public Attributes

cuda::HostThreadContext Class Reference

#include <CudaRuntime.h>

List of all members.

Public Member Functions

 HostThreadContext ()
 ~HostThreadContext ()
 HostThreadContext (const HostThreadContext &c)
HostThreadContextoperator= (const HostThreadContext &c)
 HostThreadContext (HostThreadContext &&c)
HostThreadContextoperator= (HostThreadContext &&c)
void clearParameters ()
void clear ()
unsigned int mapParameters (const ir::Kernel *kernel)
 HostThreadContext ()
 ~HostThreadContext ()
 HostThreadContext (const HostThreadContext &c)
HostThreadContextoperator= (const HostThreadContext &c)
 HostThreadContext (HostThreadContext &&c)
HostThreadContextoperator= (HostThreadContext &&c)
void clearParameters ()
void clear ()
unsigned int mapParameters (const ir::Kernel *kernel)

Public Attributes

int selectedDevice
 index of selected device
std::vector< int > validDevices
 array of valid device indices
KernelLaunchStack launchConfigurations
 stack of launch configurations
cudaError_t lastError
 last result returned by a CUDA call
unsigned char * parameterBlock
 parameter memory
size_t parameterBlockSize
 size of parameter memory
IndexVector parameterIndices
 Offsets for individual parameters.
SizeVector parameterSizes
 Sizes for individual parameters.
trace::TraceGeneratorVector persistentTraceGenerators
 set of trace generators to be inserted into emulated kernels
trace::TraceGeneratorVector nextTraceGenerators
 set of trace generators to be inserted into emulated kernels

Detailed Description

Host thread CUDA context consists of these


Constructor & Destructor Documentation

cuda::HostThreadContext::HostThreadContext ( )
cuda::HostThreadContext::~HostThreadContext ( )
cuda::HostThreadContext::HostThreadContext ( const HostThreadContext c)
cuda::HostThreadContext::HostThreadContext ( HostThreadContext &&  c)
cuda::HostThreadContext::HostThreadContext ( )
cuda::HostThreadContext::~HostThreadContext ( )
cuda::HostThreadContext::HostThreadContext ( const HostThreadContext c)
cuda::HostThreadContext::HostThreadContext ( HostThreadContext &&  c)

Member Function Documentation

void cuda::HostThreadContext::clear ( )
void cuda::HostThreadContext::clear ( )
void cuda::HostThreadContext::clearParameters ( )
void cuda::HostThreadContext::clearParameters ( )
unsigned int cuda::HostThreadContext::mapParameters ( const ir::Kernel kernel)
unsigned int cuda::HostThreadContext::mapParameters ( const ir::Kernel kernel)
HostThreadContext& cuda::HostThreadContext::operator= ( HostThreadContext &&  c)
cuda::HostThreadContext & cuda::HostThreadContext::operator= ( HostThreadContext &&  c)
cuda::HostThreadContext & cuda::HostThreadContext::operator= ( const HostThreadContext c)
HostThreadContext& cuda::HostThreadContext::operator= ( const HostThreadContext c)

Member Data Documentation

last result returned by a CUDA call

stack of launch configurations

set of trace generators to be inserted into emulated kernels

parameter memory

size of parameter memory

Offsets for individual parameters.

Sizes for individual parameters.

set of trace generators to be inserted into emulated kernels

index of selected device

array of valid device indices


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines