|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CUdeviceptr | |
|---|---|
| jcuda.driver | Contains the classes related to the JCuda driver API. |
| Uses of CUdeviceptr in jcuda.driver |
|---|
| Fields in jcuda.driver declared as CUdeviceptr | |
|---|---|
CUdeviceptr |
CUDA_MEMCPY3D.dstDevice
The destination pointer. |
CUdeviceptr |
CUDA_MEMCPY2D.dstDevice
The destination pointer. |
CUdeviceptr |
CUDA_MEMCPY3D.srcDevice
The source pointer. |
CUdeviceptr |
CUDA_MEMCPY2D.srcDevice
The source pointer. |
| Methods in jcuda.driver that return CUdeviceptr | |
|---|---|
CUdeviceptr |
CUdeviceptr.withByteOffset(long byteOffset)
Returns a new pointer with an offset of the given number of bytes |
| Methods in jcuda.driver with parameters of type CUdeviceptr | |
|---|---|
static int |
JCudaDriver.cuGLMapBufferObject(CUdeviceptr dptr,
long[] size,
int bufferobj)
Maps an OpenGL buffer object. |
static int |
JCudaDriver.cuGLMapBufferObjectAsync(CUdeviceptr dptr,
long[] size,
int buffer,
CUstream hStream)
Maps an OpenGL buffer object. |
static int |
JCudaDriver.cuGraphicsResourceGetMappedPointer(CUdeviceptr pDevPtr,
long[] pSize,
CUgraphicsResource resource)
Get a device pointer through which to access a mapped graphics resource. |
static int |
JCudaDriver.cuMemAlloc(CUdeviceptr dptr,
long bytesize)
Allocates device memory. |
static int |
JCudaDriver.cuMemAllocPitch(CUdeviceptr dptr,
long[] pPitch,
long WidthInBytes,
long Height,
int ElementSizeBytes)
Allocates pitched device memory. |
static int |
JCudaDriver.cuMemcpyAtoD(CUdeviceptr dstDevice,
CUarray hSrc,
long SrcIndex,
long ByteCount)
Copies memory from Array to Device. |
static int |
JCudaDriver.cuMemcpyDtoA(CUarray dstArray,
int dstIndex,
CUdeviceptr srcDevice,
long ByteCount)
Copies memory from Device to Array. |
static int |
JCudaDriver.cuMemcpyDtoD(CUdeviceptr dstDevice,
CUdeviceptr srcDevice,
long ByteCount)
Copies memory from Device to Device. |
static int |
JCudaDriver.cuMemcpyDtoDAsync(CUdeviceptr dstDevice,
CUdeviceptr srcDevice,
long ByteCount,
CUstream hStream)
Copies memory from Device to Device. |
static int |
JCudaDriver.cuMemcpyDtoH(Pointer dstHost,
CUdeviceptr srcDevice,
long ByteCount)
Copies memory from Device to Host. |
static int |
JCudaDriver.cuMemcpyDtoHAsync(Pointer dstHost,
CUdeviceptr srcDevice,
long ByteCount,
CUstream hStream)
Copies memory from Device to Host. |
static int |
JCudaDriver.cuMemcpyHtoD(CUdeviceptr dstDevice,
Pointer srcHost,
long ByteCount)
Copies memory from Host to Device. |
static int |
JCudaDriver.cuMemcpyHtoDAsync(CUdeviceptr dstDevice,
Pointer srcHost,
long ByteCount,
CUstream hStream)
Copies memory from Host to Device. |
static int |
JCudaDriver.cuMemFree(CUdeviceptr dptr)
Frees device memory. |
static int |
JCudaDriver.cuMemGetAddressRange(CUdeviceptr pbase,
long[] psize,
CUdeviceptr dptr)
Get information on memory allocations. |
static int |
JCudaDriver.cuMemHostGetDevicePointer(CUdeviceptr ret,
Pointer p,
int Flags)
Passes back device pointer of mapped pinned memory. |
static int |
JCudaDriver.cuMemsetD16(CUdeviceptr dstDevice,
short us,
long N)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD16Async(CUdeviceptr dstDevice,
short us,
long N)
Sets device memory. |
static int |
JCudaDriver.cuMemsetD2D16(CUdeviceptr dstDevice,
long dstPitch,
short us,
long Width,
long Height)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD2D16Async(CUdeviceptr dstDevice,
long dstPitch,
short us,
long Width,
long Height)
Sets device memory. |
static int |
JCudaDriver.cuMemsetD2D32(CUdeviceptr dstDevice,
long dstPitch,
int ui,
long Width,
long Height)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD2D32Async(CUdeviceptr dstDevice,
long dstPitch,
int ui,
long Width,
long Height)
Sets device memory. |
static int |
JCudaDriver.cuMemsetD2D8(CUdeviceptr dstDevice,
long dstPitch,
char uc,
long Width,
long Height)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD2D8Async(CUdeviceptr dstDevice,
long dstPitch,
char uc,
long Width,
long Height)
Sets device memory. |
static int |
JCudaDriver.cuMemsetD32(CUdeviceptr dstDevice,
int ui,
long N)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD32Async(CUdeviceptr dstDevice,
int ui,
long N)
Sets device memory. |
static int |
JCudaDriver.cuMemsetD8(CUdeviceptr dstDevice,
char uc,
long N)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD8Async(CUdeviceptr dstDevice,
char uc,
long N)
Sets device memory. |
static int |
JCudaDriver.cuModuleGetGlobal(CUdeviceptr dptr,
long[] bytes,
CUmodule hmod,
java.lang.String name)
Returns a global pointer from a module. |
static int |
JCudaDriver.cuTexRefGetAddress(CUdeviceptr pdptr,
CUtexref hTexRef)
Gets the address associated with a texture reference. |
static int |
JCudaDriver.cuTexRefSetAddress(int[] ByteOffset,
CUtexref hTexRef,
CUdeviceptr dptr,
long bytes)
Binds an address as a texture reference. |
static int |
JCudaDriver.cuTexRefSetAddress2D(CUtexref hTexRef,
CUDA_ARRAY_DESCRIPTOR desc,
CUdeviceptr dptr,
long PitchInBytes)
Binds an address as a 2D texture reference. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||