HMSBEAGLE  1.0.0
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
GPUInterface Class Reference

List of all members.

Public Member Functions

int Initialize ()
int GetDeviceCount ()
void SetDevice (int deviceNumber, int paddedStateCount, int categoryCount, int patternCount, long flags)
void Synchronize ()
GPUFunction GetFunction (const char *functionName)
void LaunchKernel (GPUFunction deviceFunction, Dim3Int block, Dim3Int grid, int parameterCountV, int totalParameterCount,...)
void * MallocHost (size_t memSize)
void * CallocHost (size_t size, size_t length)
void * AllocatePinnedHostMemory (size_t memSize, bool writeCombined, bool mapped)
GPUPtr AllocateMemory (size_t memSize)
GPUPtr AllocateRealMemory (size_t length)
GPUPtr AllocateIntMemory (size_t length)
void MemsetShort (GPUPtr dest, unsigned short val, size_t count)
void MemcpyHostToDevice (GPUPtr dest, const void *src, size_t memSize)
void MemcpyDeviceToHost (void *dest, const GPUPtr src, size_t memSize)
void MemcpyDeviceToDevice (GPUPtr dest, GPUPtr src, size_t memSize)
void FreeHostMemory (void *hPtr)
void FreePinnedHostMemory (void *hPtr)
void FreeMemory (GPUPtr dPtr)
GPUPtr GetDevicePointer (void *hPtr)
unsigned int GetAvailableMemory ()
void GetDeviceName (int deviceNumber, char *deviceName, int nameLength)
void GetDeviceDescription (int deviceNumber, char *deviceDescription)
bool GetSupportsDoublePrecision (int deviceNumber)
template<typename Real >
void PrintfDeviceVector (GPUPtr dPtr, int length, Real r)
template<typename Real >
void PrintfDeviceVector (GPUPtr dPtr, int length, double checkValue, Real r)
template<typename Real >
void PrintfDeviceVector (GPUPtr dPtr, int length, double checkValue, int *signal, Real r)
void PrintfDeviceInt (GPUPtr dPtr, int length)
void DestroyKernelMap ()

Public Attributes

KernelResourcekernelResource

Protected Member Functions

void InitializeKernelMap ()

Protected Attributes

std::map< int, int > * resourceMap
bool supportDoublePrecision

The documentation for this class was generated from the following files: