GPUOcelot
Public Member Functions | Static Public Member Functions

cuda::CudaDriverInterface Class Reference

Dynamic interface to the cuda driver. More...

#include <CudaDriverInterface.h>

Inheritance diagram for cuda::CudaDriverInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual CUresult cuInit (unsigned int Flags)
virtual CUresult cuDriverGetVersion (int *driverVersion)
virtual CUresult cuGetExportTable (const void **ppExportTable, const CUuuid *pExportTableId)
virtual CUresult cuDeviceGet (CUdevice *device, int ordinal)
virtual CUresult cuDeviceGetCount (int *count)
virtual CUresult cuDeviceGetName (char *name, int len, CUdevice dev)
virtual CUresult cuDeviceComputeCapability (int *major, int *minor, CUdevice dev)
virtual CUresult cuDeviceTotalMem (size_t *bytes, CUdevice dev)
virtual CUresult cuDeviceGetProperties (CUdevprop *prop, CUdevice dev)
virtual CUresult cuDeviceGetAttribute (int *pi, CUdevice_attribute attrib, CUdevice dev)
virtual CUresult cuCtxCreate (CUcontext *pctx, unsigned int flags, CUdevice dev)
virtual CUresult cuCtxDestroy (CUcontext ctx)
virtual CUresult cuCtxAttach (CUcontext *pctx, unsigned int flags)
virtual CUresult cuCtxDetach (CUcontext ctx)
virtual CUresult cuCtxPushCurrent (CUcontext ctx)
virtual CUresult cuCtxPopCurrent (CUcontext *pctx)
virtual CUresult cuCtxGetDevice (CUdevice *device)
virtual CUresult cuCtxSynchronize (void)
virtual CUresult cuModuleLoad (CUmodule *module, const char *fname)
virtual CUresult cuModuleLoadData (CUmodule *module, const void *image)
virtual CUresult cuModuleLoadDataEx (CUmodule *module, const void *image, unsigned int numOptions, CUjit_option *options, void **optionValues)
virtual CUresult cuModuleLoadFatBinary (CUmodule *module, const void *fatCubin)
virtual CUresult cuModuleUnload (CUmodule hmod)
virtual CUresult cuModuleGetFunction (CUfunction *hfunc, CUmodule hmod, const char *name)
virtual CUresult cuModuleGetGlobal (CUdeviceptr *dptr, size_t *bytes, CUmodule hmod, const char *name)
virtual CUresult cuModuleGetTexRef (CUtexref *pTexRef, CUmodule hmod, const char *name)
virtual CUresult cuMemGetInfo (size_t *free, size_t *total)
virtual CUresult cuMemAlloc (CUdeviceptr *dptr, unsigned int bytesize)
virtual CUresult cuMemAllocPitch (CUdeviceptr *dptr, size_t *pPitch, unsigned int WidthInBytes, unsigned int Height, unsigned int ElementSizeBytes)
virtual CUresult cuMemFree (CUdeviceptr dptr)
virtual CUresult cuMemGetAddressRange (CUdeviceptr *pbase, size_t *psize, CUdeviceptr dptr)
virtual CUresult cuMemAllocHost (void **pp, unsigned int bytesize)
virtual CUresult cuMemFreeHost (void *p)
virtual CUresult cuMemHostAlloc (void **pp, unsigned long long bytesize, unsigned int Flags)
virtual CUresult cuMemHostGetDevicePointer (CUdeviceptr *pdptr, void *p, unsigned int Flags)
virtual CUresult cuMemHostGetFlags (unsigned int *pFlags, void *p)
virtual CUresult cuMemcpyHtoD (CUdeviceptr dstDevice, const void *srcHost, unsigned int ByteCount)
virtual CUresult cuMemcpyDtoH (void *dstHost, CUdeviceptr srcDevice, unsigned int ByteCount)
virtual CUresult cuMemcpyHtoH (void *dstHost, const void *srcHost, unsigned int ByteCount)
virtual CUresult cuMemcpyDtoD (CUdeviceptr dstDevice, CUdeviceptr srcDevice, unsigned int ByteCount)
virtual CUresult cuMemcpyDtoA (CUarray dstArray, unsigned int dstIndex, CUdeviceptr srcDevice, unsigned int ByteCount)
virtual CUresult cuMemcpyAtoD (CUdeviceptr dstDevice, CUarray hSrc, unsigned int SrcIndex, unsigned int ByteCount)
virtual CUresult cuMemcpyHtoA (CUarray dstArray, unsigned int dstIndex, const void *pSrc, unsigned int ByteCount)
virtual CUresult cuMemcpyAtoH (void *dstHost, CUarray srcArray, unsigned int srcIndex, unsigned int ByteCount)
virtual CUresult cuMemcpyAtoA (CUarray dstArray, unsigned int dstIndex, CUarray srcArray, unsigned int srcIndex, unsigned int ByteCount)
virtual CUresult cuMemcpy2D (const CUDA_MEMCPY2D *pCopy)
virtual CUresult cuMemcpy2DUnaligned (const CUDA_MEMCPY2D *pCopy)
virtual CUresult cuMemcpy3D (const CUDA_MEMCPY3D *pCopy)
virtual CUresult cuMemcpyHtoDAsync (CUdeviceptr dstDevice, const void *srcHost, unsigned int ByteCount, CUstream hStream)
virtual CUresult cuMemcpyDtoHAsync (void *dstHost, CUdeviceptr srcDevice, unsigned int ByteCount, CUstream hStream)
virtual CUresult cuMemcpyHtoAAsync (CUarray dstArray, unsigned int dstIndex, const void *pSrc, unsigned int ByteCount, CUstream hStream)
virtual CUresult cuMemcpyAtoHAsync (void *dstHost, CUarray srcArray, unsigned int srcIndex, unsigned int ByteCount, CUstream hStream)
virtual CUresult cuMemcpy2DAsync (const CUDA_MEMCPY2D *pCopy, CUstream hStream)
virtual CUresult cuMemcpy3DAsync (const CUDA_MEMCPY3D *pCopy, CUstream hStream)
virtual CUresult cuMemsetD8 (CUdeviceptr dstDevice, unsigned char uc, unsigned int N)
virtual CUresult cuMemsetD16 (CUdeviceptr dstDevice, unsigned short us, unsigned int N)
virtual CUresult cuMemsetD32 (CUdeviceptr dstDevice, unsigned int ui, unsigned int N)
virtual CUresult cuMemsetD2D8 (CUdeviceptr dstDevice, unsigned int dstPitch, unsigned char uc, unsigned int Width, unsigned int Height)
virtual CUresult cuMemsetD2D16 (CUdeviceptr dstDevice, unsigned int dstPitch, unsigned short us, unsigned int Width, unsigned int Height)
virtual CUresult cuMemsetD2D32 (CUdeviceptr dstDevice, unsigned int dstPitch, unsigned int ui, unsigned int Width, unsigned int Height)
virtual CUresult cuFuncSetBlockShape (CUfunction hfunc, int x, int y, int z)
virtual CUresult cuFuncSetSharedSize (CUfunction hfunc, unsigned int bytes)
virtual CUresult cuFuncGetAttribute (int *pi, CUfunction_attribute attrib, CUfunction hfunc)
virtual CUresult cuFuncSetCacheConfig (CUfunction hfunc, CUfunc_cache config)
virtual CUresult cuArrayCreate (CUarray *pHandle, const CUDA_ARRAY_DESCRIPTOR *pAllocateArray)
virtual CUresult cuArrayGetDescriptor (CUDA_ARRAY_DESCRIPTOR *pArrayDescriptor, CUarray hArray)
virtual CUresult cuArrayDestroy (CUarray hArray)
virtual CUresult cuArray3DCreate (CUarray *pHandle, const CUDA_ARRAY3D_DESCRIPTOR *pAllocateArray)
virtual CUresult cuArray3DGetDescriptor (CUDA_ARRAY3D_DESCRIPTOR *pArrayDescriptor, CUarray hArray)
virtual CUresult cuTexRefCreate (CUtexref *pTexRef)
virtual CUresult cuTexRefDestroy (CUtexref hTexRef)
virtual CUresult cuTexRefSetArray (CUtexref hTexRef, CUarray hArray, unsigned int Flags)
virtual CUresult cuTexRefSetAddress (size_t *ByteOffset, CUtexref hTexRef, CUdeviceptr dptr, unsigned int bytes)
virtual CUresult cuTexRefSetAddress2D (CUtexref hTexRef, const CUDA_ARRAY_DESCRIPTOR *desc, CUdeviceptr dptr, unsigned int Pitch)
virtual CUresult cuTexRefSetFormat (CUtexref hTexRef, CUarray_format fmt, int NumPackedComponents)
virtual CUresult cuTexRefSetAddressMode (CUtexref hTexRef, int dim, CUaddress_mode am)
virtual CUresult cuTexRefSetFilterMode (CUtexref hTexRef, CUfilter_mode fm)
virtual CUresult cuTexRefSetFlags (CUtexref hTexRef, unsigned int Flags)
virtual CUresult cuTexRefGetAddress (CUdeviceptr *pdptr, CUtexref hTexRef)
virtual CUresult cuTexRefGetArray (CUarray *phArray, CUtexref hTexRef)
virtual CUresult cuTexRefGetAddressMode (CUaddress_mode *pam, CUtexref hTexRef, int dim)
virtual CUresult cuTexRefGetFilterMode (CUfilter_mode *pfm, CUtexref hTexRef)
virtual CUresult cuTexRefGetFormat (CUarray_format *pFormat, int *pNumChannels, CUtexref hTexRef)
virtual CUresult cuTexRefGetFlags (unsigned int *pFlags, CUtexref hTexRef)
virtual CUresult cuParamSetSize (CUfunction hfunc, unsigned int numbytes)
virtual CUresult cuParamSeti (CUfunction hfunc, int offset, unsigned int value)
virtual CUresult cuParamSetf (CUfunction hfunc, int offset, float value)
virtual CUresult cuParamSetv (CUfunction hfunc, int offset, void *ptr, unsigned int numbytes)
virtual CUresult cuParamSetTexRef (CUfunction hfunc, int texunit, CUtexref hTexRef)
virtual CUresult cuLaunch (CUfunction f)
virtual CUresult cuLaunchGrid (CUfunction f, int grid_width, int grid_height)
virtual CUresult cuLaunchGridAsync (CUfunction f, int grid_width, int grid_height, CUstream hStream)
virtual CUresult cuEventCreate (CUevent *phEvent, unsigned int Flags)
virtual CUresult cuEventRecord (CUevent hEvent, CUstream hStream)
virtual CUresult cuEventQuery (CUevent hEvent)
virtual CUresult cuEventSynchronize (CUevent hEvent)
virtual CUresult cuEventDestroy (CUevent hEvent)
virtual CUresult cuEventElapsedTime (float *pMilliseconds, CUevent hStart, CUevent hEnd)
virtual CUresult cuStreamCreate (CUstream *phStream, unsigned int Flags)
virtual CUresult cuStreamQuery (CUstream hStream)
virtual CUresult cuStreamSynchronize (CUstream hStream)
virtual CUresult cuStreamDestroy (CUstream hStream)
virtual CUresult cuGraphicsUnregisterResource (CUgraphicsResource resource)
virtual CUresult cuGraphicsSubResourceGetMappedArray (CUarray *pArray, CUgraphicsResource resource, unsigned int arrayIndex, unsigned int mipLevel)
virtual CUresult cuGraphicsResourceGetMappedPointer (CUdeviceptr *pDevPtr, size_t *pSize, CUgraphicsResource resource)
virtual CUresult cuGraphicsResourceSetMapFlags (CUgraphicsResource resource, unsigned int flags)
virtual CUresult cuGraphicsMapResources (unsigned int count, CUgraphicsResource *resources, CUstream hStream)
virtual CUresult cuGraphicsUnmapResources (unsigned int count, CUgraphicsResource *resources, CUstream hStream)
virtual CUresult cuGLInit ()
virtual CUresult cuGLCtxCreate (CUcontext *pCtx, unsigned int Flags, CUdevice device)
virtual CUresult cuGraphicsGLRegisterBuffer (CUgraphicsResource *pCudaResource, unsigned int buffer, unsigned int Flags)
virtual CUresult cuGraphicsGLRegisterImage (CUgraphicsResource *pCudaResource, unsigned int image, int target, unsigned int Flags)
virtual CUresult cuGLRegisterBufferObject (GLuint bufferobj)
virtual CUresult cuGLSetBufferObjectMapFlags (GLuint buffer, unsigned int flags)
std::string toString (CUresult result)

Static Public Member Functions

static CudaDriverInterfaceget ()

Detailed Description

Dynamic interface to the cuda driver.


Member Function Documentation

CUresult cuda::CudaDriverInterface::cuArray3DCreate ( CUarray pHandle,
const CUDA_ARRAY3D_DESCRIPTOR pAllocateArray 
) [virtual]
CUresult cuda::CudaDriverInterface::cuArray3DGetDescriptor ( CUDA_ARRAY3D_DESCRIPTOR pArrayDescriptor,
CUarray  hArray 
) [virtual]
CUresult cuda::CudaDriverInterface::cuArrayCreate ( CUarray pHandle,
const CUDA_ARRAY_DESCRIPTOR pAllocateArray 
) [virtual]
CUresult cuda::CudaDriverInterface::cuArrayDestroy ( CUarray  hArray) [virtual]
CUresult cuda::CudaDriverInterface::cuArrayGetDescriptor ( CUDA_ARRAY_DESCRIPTOR pArrayDescriptor,
CUarray  hArray 
) [virtual]
CUresult cuda::CudaDriverInterface::cuCtxAttach ( CUcontext pctx,
unsigned int  flags 
) [virtual]
CUresult cuda::CudaDriverInterface::cuCtxCreate ( CUcontext pctx,
unsigned int  flags,
CUdevice  dev 
) [virtual]
CUresult cuda::CudaDriverInterface::cuCtxDestroy ( CUcontext  ctx) [virtual]
CUresult cuda::CudaDriverInterface::cuCtxDetach ( CUcontext  ctx) [virtual]
CUresult cuda::CudaDriverInterface::cuCtxGetDevice ( CUdevice device) [virtual]
CUresult cuda::CudaDriverInterface::cuCtxPopCurrent ( CUcontext pctx) [virtual]
CUresult cuda::CudaDriverInterface::cuCtxPushCurrent ( CUcontext  ctx) [virtual]
CUresult cuda::CudaDriverInterface::cuCtxSynchronize ( void  ) [virtual]
CUresult cuda::CudaDriverInterface::cuDeviceComputeCapability ( int *  major,
int *  minor,
CUdevice  dev 
) [virtual]
CUresult cuda::CudaDriverInterface::cuDeviceGet ( CUdevice device,
int  ordinal 
) [virtual]
CUresult cuda::CudaDriverInterface::cuDeviceGetAttribute ( int *  pi,
CUdevice_attribute  attrib,
CUdevice  dev 
) [virtual]
CUresult cuda::CudaDriverInterface::cuDeviceGetCount ( int *  count) [virtual]
CUresult cuda::CudaDriverInterface::cuDeviceGetName ( char *  name,
int  len,
CUdevice  dev 
) [virtual]
CUresult cuda::CudaDriverInterface::cuDeviceGetProperties ( CUdevprop prop,
CUdevice  dev 
) [virtual]
CUresult cuda::CudaDriverInterface::cuDeviceTotalMem ( size_t bytes,
CUdevice  dev 
) [virtual]
CUresult cuda::CudaDriverInterface::cuDriverGetVersion ( int *  driverVersion) [virtual]
CUresult cuda::CudaDriverInterface::cuEventCreate ( CUevent phEvent,
unsigned int  Flags 
) [virtual]
CUresult cuda::CudaDriverInterface::cuEventDestroy ( CUevent  hEvent) [virtual]
CUresult cuda::CudaDriverInterface::cuEventElapsedTime ( float *  pMilliseconds,
CUevent  hStart,
CUevent  hEnd 
) [virtual]
CUresult cuda::CudaDriverInterface::cuEventQuery ( CUevent  hEvent) [virtual]
CUresult cuda::CudaDriverInterface::cuEventRecord ( CUevent  hEvent,
CUstream  hStream 
) [virtual]
CUresult cuda::CudaDriverInterface::cuEventSynchronize ( CUevent  hEvent) [virtual]
CUresult cuda::CudaDriverInterface::cuFuncGetAttribute ( int *  pi,
CUfunction_attribute  attrib,
CUfunction  hfunc 
) [virtual]
CUresult cuda::CudaDriverInterface::cuFuncSetBlockShape ( CUfunction  hfunc,
int  x,
int  y,
int  z 
) [virtual]
CUresult cuda::CudaDriverInterface::cuFuncSetCacheConfig ( CUfunction  hfunc,
CUfunc_cache  config 
) [virtual]

Reimplemented in cuda::CudaDriverFrontend.

CUresult cuda::CudaDriverInterface::cuFuncSetSharedSize ( CUfunction  hfunc,
unsigned int  bytes 
) [virtual]
CUresult cuda::CudaDriverInterface::cuGetExportTable ( const void **  ppExportTable,
const CUuuid pExportTableId 
) [virtual]
CUresult cuda::CudaDriverInterface::cuGLCtxCreate ( CUcontext pCtx,
unsigned int  Flags,
CUdevice  device 
) [virtual]
CUresult cuda::CudaDriverInterface::cuGLInit ( ) [virtual]
CUresult cuda::CudaDriverInterface::cuGLRegisterBufferObject ( GLuint  bufferobj) [virtual]

Reimplemented in util::KernelExtractorDriver.

CUresult cuda::CudaDriverInterface::cuGLSetBufferObjectMapFlags ( GLuint  buffer,
unsigned int  flags 
) [virtual]

Reimplemented in util::KernelExtractorDriver.

CUresult cuda::CudaDriverInterface::cuGraphicsGLRegisterBuffer ( CUgraphicsResource pCudaResource,
unsigned int  buffer,
unsigned int  Flags 
) [virtual]
CUresult cuda::CudaDriverInterface::cuGraphicsGLRegisterImage ( CUgraphicsResource pCudaResource,
unsigned int  image,
int  target,
unsigned int  Flags 
) [virtual]
CUresult cuda::CudaDriverInterface::cuGraphicsMapResources ( unsigned int  count,
CUgraphicsResource resources,
CUstream  hStream 
) [virtual]
CUresult cuda::CudaDriverInterface::cuGraphicsResourceGetMappedPointer ( CUdeviceptr pDevPtr,
size_t pSize,
CUgraphicsResource  resource 
) [virtual]
CUresult cuda::CudaDriverInterface::cuGraphicsResourceSetMapFlags ( CUgraphicsResource  resource,
unsigned int  flags 
) [virtual]
CUresult cuda::CudaDriverInterface::cuGraphicsSubResourceGetMappedArray ( CUarray pArray,
CUgraphicsResource  resource,
unsigned int  arrayIndex,
unsigned int  mipLevel 
) [virtual]
CUresult cuda::CudaDriverInterface::cuGraphicsUnmapResources ( unsigned int  count,
CUgraphicsResource resources,
CUstream  hStream 
) [virtual]
CUresult cuda::CudaDriverInterface::cuGraphicsUnregisterResource ( CUgraphicsResource  resource) [virtual]
CUresult cuda::CudaDriverInterface::cuInit ( unsigned int  Flags) [virtual]
CUresult cuda::CudaDriverInterface::cuLaunch ( CUfunction  f) [virtual]
CUresult cuda::CudaDriverInterface::cuLaunchGrid ( CUfunction  f,
int  grid_width,
int  grid_height 
) [virtual]
CUresult cuda::CudaDriverInterface::cuLaunchGridAsync ( CUfunction  f,
int  grid_width,
int  grid_height,
CUstream  hStream 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemAlloc ( CUdeviceptr dptr,
unsigned int  bytesize 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemAllocHost ( void **  pp,
unsigned int  bytesize 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemAllocPitch ( CUdeviceptr dptr,
size_t pPitch,
unsigned int  WidthInBytes,
unsigned int  Height,
unsigned int  ElementSizeBytes 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpy2D ( const CUDA_MEMCPY2D pCopy) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpy2DAsync ( const CUDA_MEMCPY2D pCopy,
CUstream  hStream 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpy2DUnaligned ( const CUDA_MEMCPY2D pCopy) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpy3D ( const CUDA_MEMCPY3D pCopy) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpy3DAsync ( const CUDA_MEMCPY3D pCopy,
CUstream  hStream 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpyAtoA ( CUarray  dstArray,
unsigned int  dstIndex,
CUarray  srcArray,
unsigned int  srcIndex,
unsigned int  ByteCount 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpyAtoD ( CUdeviceptr  dstDevice,
CUarray  hSrc,
unsigned int  SrcIndex,
unsigned int  ByteCount 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpyAtoH ( void *  dstHost,
CUarray  srcArray,
unsigned int  srcIndex,
unsigned int  ByteCount 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpyAtoHAsync ( void *  dstHost,
CUarray  srcArray,
unsigned int  srcIndex,
unsigned int  ByteCount,
CUstream  hStream 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpyDtoA ( CUarray  dstArray,
unsigned int  dstIndex,
CUdeviceptr  srcDevice,
unsigned int  ByteCount 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpyDtoD ( CUdeviceptr  dstDevice,
CUdeviceptr  srcDevice,
unsigned int  ByteCount 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpyDtoH ( void *  dstHost,
CUdeviceptr  srcDevice,
unsigned int  ByteCount 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpyDtoHAsync ( void *  dstHost,
CUdeviceptr  srcDevice,
unsigned int  ByteCount,
CUstream  hStream 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpyHtoA ( CUarray  dstArray,
unsigned int  dstIndex,
const void *  pSrc,
unsigned int  ByteCount 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpyHtoAAsync ( CUarray  dstArray,
unsigned int  dstIndex,
const void *  pSrc,
unsigned int  ByteCount,
CUstream  hStream 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpyHtoD ( CUdeviceptr  dstDevice,
const void *  srcHost,
unsigned int  ByteCount 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpyHtoDAsync ( CUdeviceptr  dstDevice,
const void *  srcHost,
unsigned int  ByteCount,
CUstream  hStream 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemcpyHtoH ( void *  dstHost,
const void *  srcHost,
unsigned int  ByteCount 
) [virtual]

Reimplemented in cuda::CudaDriverFrontend.

CUresult cuda::CudaDriverInterface::cuMemFree ( CUdeviceptr  dptr) [virtual]
CUresult cuda::CudaDriverInterface::cuMemFreeHost ( void *  p) [virtual]
CUresult cuda::CudaDriverInterface::cuMemGetAddressRange ( CUdeviceptr pbase,
size_t psize,
CUdeviceptr  dptr 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemGetInfo ( size_t free,
size_t total 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemHostAlloc ( void **  pp,
unsigned long long  bytesize,
unsigned int  Flags 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemHostGetDevicePointer ( CUdeviceptr pdptr,
void *  p,
unsigned int  Flags 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemHostGetFlags ( unsigned int *  pFlags,
void *  p 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemsetD16 ( CUdeviceptr  dstDevice,
unsigned short  us,
unsigned int  N 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemsetD2D16 ( CUdeviceptr  dstDevice,
unsigned int  dstPitch,
unsigned short  us,
unsigned int  Width,
unsigned int  Height 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemsetD2D32 ( CUdeviceptr  dstDevice,
unsigned int  dstPitch,
unsigned int  ui,
unsigned int  Width,
unsigned int  Height 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemsetD2D8 ( CUdeviceptr  dstDevice,
unsigned int  dstPitch,
unsigned char  uc,
unsigned int  Width,
unsigned int  Height 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemsetD32 ( CUdeviceptr  dstDevice,
unsigned int  ui,
unsigned int  N 
) [virtual]
CUresult cuda::CudaDriverInterface::cuMemsetD8 ( CUdeviceptr  dstDevice,
unsigned char  uc,
unsigned int  N 
) [virtual]
CUresult cuda::CudaDriverInterface::cuModuleGetFunction ( CUfunction hfunc,
CUmodule  hmod,
const char *  name 
) [virtual]
CUresult cuda::CudaDriverInterface::cuModuleGetGlobal ( CUdeviceptr dptr,
size_t bytes,
CUmodule  hmod,
const char *  name 
) [virtual]
CUresult cuda::CudaDriverInterface::cuModuleGetTexRef ( CUtexref pTexRef,
CUmodule  hmod,
const char *  name 
) [virtual]
CUresult cuda::CudaDriverInterface::cuModuleLoad ( CUmodule module,
const char *  fname 
) [virtual]
CUresult cuda::CudaDriverInterface::cuModuleLoadData ( CUmodule module,
const void *  image 
) [virtual]
CUresult cuda::CudaDriverInterface::cuModuleLoadDataEx ( CUmodule module,
const void *  image,
unsigned int  numOptions,
CUjit_option options,
void **  optionValues 
) [virtual]
CUresult cuda::CudaDriverInterface::cuModuleLoadFatBinary ( CUmodule module,
const void *  fatCubin 
) [virtual]
CUresult cuda::CudaDriverInterface::cuModuleUnload ( CUmodule  hmod) [virtual]
CUresult cuda::CudaDriverInterface::cuParamSetf ( CUfunction  hfunc,
int  offset,
float  value 
) [virtual]
CUresult cuda::CudaDriverInterface::cuParamSeti ( CUfunction  hfunc,
int  offset,
unsigned int  value 
) [virtual]
CUresult cuda::CudaDriverInterface::cuParamSetSize ( CUfunction  hfunc,
unsigned int  numbytes 
) [virtual]
CUresult cuda::CudaDriverInterface::cuParamSetTexRef ( CUfunction  hfunc,
int  texunit,
CUtexref  hTexRef 
) [virtual]
CUresult cuda::CudaDriverInterface::cuParamSetv ( CUfunction  hfunc,
int  offset,
void *  ptr,
unsigned int  numbytes 
) [virtual]
CUresult cuda::CudaDriverInterface::cuStreamCreate ( CUstream phStream,
unsigned int  Flags 
) [virtual]
CUresult cuda::CudaDriverInterface::cuStreamDestroy ( CUstream  hStream) [virtual]
CUresult cuda::CudaDriverInterface::cuStreamQuery ( CUstream  hStream) [virtual]
CUresult cuda::CudaDriverInterface::cuStreamSynchronize ( CUstream  hStream) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefCreate ( CUtexref pTexRef) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefDestroy ( CUtexref  hTexRef) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefGetAddress ( CUdeviceptr pdptr,
CUtexref  hTexRef 
) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefGetAddressMode ( CUaddress_mode pam,
CUtexref  hTexRef,
int  dim 
) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefGetArray ( CUarray phArray,
CUtexref  hTexRef 
) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefGetFilterMode ( CUfilter_mode pfm,
CUtexref  hTexRef 
) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefGetFlags ( unsigned int *  pFlags,
CUtexref  hTexRef 
) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefGetFormat ( CUarray_format pFormat,
int *  pNumChannels,
CUtexref  hTexRef 
) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefSetAddress ( size_t ByteOffset,
CUtexref  hTexRef,
CUdeviceptr  dptr,
unsigned int  bytes 
) [virtual]

Reimplemented in cuda::CudaDriverFrontend.

CUresult cuda::CudaDriverInterface::cuTexRefSetAddress2D ( CUtexref  hTexRef,
const CUDA_ARRAY_DESCRIPTOR desc,
CUdeviceptr  dptr,
unsigned int  Pitch 
) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefSetAddressMode ( CUtexref  hTexRef,
int  dim,
CUaddress_mode  am 
) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefSetArray ( CUtexref  hTexRef,
CUarray  hArray,
unsigned int  Flags 
) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefSetFilterMode ( CUtexref  hTexRef,
CUfilter_mode  fm 
) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefSetFlags ( CUtexref  hTexRef,
unsigned int  Flags 
) [virtual]
CUresult cuda::CudaDriverInterface::cuTexRefSetFormat ( CUtexref  hTexRef,
CUarray_format  fmt,
int  NumPackedComponents 
) [virtual]
cuda::CudaDriverInterface * cuda::CudaDriverInterface::get ( ) [static]

Reimplemented in cuda::CudaDriverFrontend.

std::string cuda::CudaDriverInterface::toString ( CUresult  result)

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