GPUOcelot
Classes | Static Public Member Functions | Static Public Attributes

cuda::CudaDriver Class Reference

Dynamic interface to the cuda driver. More...

#include <CudaDriver.h>

Collaboration diagram for cuda::CudaDriver:
Collaboration graph
[legend]

List of all members.

Classes

class  Interface
 Container for pointers to the actual functions. More...

Static Public Member Functions

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

Static Public Attributes

static Interface _interface
 Interface to the CUDA driver.

Detailed Description

Dynamic interface to the cuda driver.


Member Function Documentation

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

Member Data Documentation

Interface to the CUDA driver.


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