|
||||||||||
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,
int[] size,
int bufferobj)
Maps an OpenGL buffer object. |
static int |
JCudaDriver.cuGLMapBufferObjectAsync(CUdeviceptr dptr,
int[] size,
int buffer,
CUstream hStream)
Maps an OpenGL buffer object. |
static int |
JCudaDriver.cuGraphicsResourceGetMappedPointer(CUdeviceptr pDevPtr,
int[] pSize,
CUgraphicsResource resource)
Get an device pointer through which to access a mapped graphics resource. |
static int |
JCudaDriver.cuMemAlloc(CUdeviceptr dptr,
int bytesize)
Allocates device memory. |
static int |
JCudaDriver.cuMemAllocPitch(CUdeviceptr dptr,
int[] pPitch,
int WidthInBytes,
int Height,
int ElementSizeBytes)
Allocates pitched device memory. |
static int |
JCudaDriver.cuMemcpyAtoD(CUdeviceptr dstDevice,
CUarray hSrc,
int SrcIndex,
int ByteCount)
Copies memory from Array to Device. |
static int |
JCudaDriver.cuMemcpyDtoA(CUarray dstArray,
int dstIndex,
CUdeviceptr srcDevice,
int ByteCount)
Copies memory from Device to Array. |
static int |
JCudaDriver.cuMemcpyDtoD(CUdeviceptr dstDevice,
CUdeviceptr srcDevice,
int ByteCount)
Copies memory from Device to Device. |
static int |
JCudaDriver.cuMemcpyDtoDAsync(CUdeviceptr dstDevice,
CUdeviceptr srcDevice,
int ByteCount,
CUstream hStream)
Copies memory from Device to Device. |
static int |
JCudaDriver.cuMemcpyDtoH(Pointer dstHost,
CUdeviceptr srcDevice,
int ByteCount)
Copies memory from Device to Host. |
static int |
JCudaDriver.cuMemcpyDtoHAsync(Pointer dstHost,
CUdeviceptr srcDevice,
int ByteCount,
CUstream hStream)
Copies memory from Device to Host. |
static int |
JCudaDriver.cuMemcpyHtoD(CUdeviceptr dstDevice,
Pointer srcHost,
int ByteCount)
Copies memory from Host to Device. |
static int |
JCudaDriver.cuMemcpyHtoDAsync(CUdeviceptr dstDevice,
Pointer srcHost,
int ByteCount,
CUstream hStream)
Copies memory from Host to Device. |
static int |
JCudaDriver.cuMemFree(CUdeviceptr dptr)
Frees device memory. |
static int |
JCudaDriver.cuMemGetAddressRange(CUdeviceptr pbase,
int[] 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,
int N)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD2D16(CUdeviceptr dstDevice,
int dstPitch,
short us,
int Width,
int Height)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD2D32(CUdeviceptr dstDevice,
int dstPitch,
int ui,
int Width,
int Height)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD2D8(CUdeviceptr dstDevice,
int dstPitch,
char uc,
int Width,
int Height)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD32(CUdeviceptr dstDevice,
int ui,
int N)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD8(CUdeviceptr dstDevice,
char uc,
int N)
Initializes device memory. |
static int |
JCudaDriver.cuModuleGetGlobal(CUdeviceptr dptr,
int[] 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,
int bytes)
Binds an address as a texture reference. |
static int |
JCudaDriver.cuTexRefSetAddress2D(CUtexref hTexRef,
CUDA_ARRAY_DESCRIPTOR desc,
CUdeviceptr dptr,
int PitchInBytes)
Binds an address as a 2D texture reference. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |