|
||||||||||
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_PEER.dstDevice
The destination pointer. |
CUdeviceptr |
CUDA_MEMCPY3D.dstDevice
The destination pointer. |
CUdeviceptr |
CUDA_MEMCPY2D.dstDevice
The destination pointer. |
CUdeviceptr |
CUDA_MEMCPY3D_PEER.srcDevice
The source 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)
|
Methods in jcuda.driver with parameters of type CUdeviceptr | |
---|---|
static int |
JCudaDriver.cuGLMapBufferObject(CUdeviceptr dptr,
long[] size,
int bufferobj)
Deprecated. This function is deprecated in the latest CUDA version |
static int |
JCudaDriver.cuGLMapBufferObjectAsync(CUdeviceptr dptr,
long[] size,
int buffer,
CUstream hStream)
Deprecated. This function is deprecated in the latest CUDA version |
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.cuMemcpy(CUdeviceptr dst,
CUdeviceptr src,
long ByteCount)
Copies memory. |
static int |
JCudaDriver.cuMemcpyAsync(CUdeviceptr dst,
CUdeviceptr src,
long ByteCount,
CUstream hStream)
Copies memory asynchronously. |
static int |
JCudaDriver.cuMemcpyAtoD(CUdeviceptr dstDevice,
CUarray hSrc,
long SrcIndex,
long ByteCount)
Copies memory from Array to Device. |
static int |
JCudaDriver.cuMemcpyDtoA(CUarray dstArray,
long 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.cuMemcpyPeer(CUdeviceptr dstDevice,
CUcontext dstContext,
CUdeviceptr srcDevice,
CUcontext srcContext,
long ByteCount)
Copies device memory between two contexts. |
static int |
JCudaDriver.cuMemcpyPeerAsync(CUdeviceptr dstDevice,
CUcontext dstContext,
CUdeviceptr srcDevice,
CUcontext srcContext,
long ByteCount,
CUstream hStream)
Copies device memory between two contexts asynchronously. |
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.cuMemPeerGetDevicePointer(CUdeviceptr pdptr,
CUdeviceptr peerPointer,
CUcontext peerContext,
int Flags)
Deprecated. This function has been added in CUDA 4.0 RC, and removed in CUDA 4.0 RC2. In the current release, it will throw an UnsupportedOperationException. |
static int |
JCudaDriver.cuMemPeerRegister(CUdeviceptr peerPointer,
CUcontext peerContext,
int Flags)
Deprecated. This function has been added in CUDA 4.0 RC, and removed in CUDA 4.0 RC2. In the current release, it will throw an UnsupportedOperationException. |
static int |
JCudaDriver.cuMemPeerUnregister(CUdeviceptr peerPointer,
CUcontext peerContext)
Deprecated. This function has been added in CUDA 4.0 RC, and removed in CUDA 4.0 RC2. In the current release, it will throw an UnsupportedOperationException. |
static int |
JCudaDriver.cuMemsetD16(CUdeviceptr dstDevice,
short us,
long N)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD16Async(CUdeviceptr dstDevice,
short us,
long N,
CUstream hStream)
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,
CUstream hStream)
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,
CUstream hStream)
Sets device memory. |
static int |
JCudaDriver.cuMemsetD2D8(CUdeviceptr dstDevice,
long dstPitch,
byte uc,
long Width,
long Height)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD2D8Async(CUdeviceptr dstDevice,
long dstPitch,
byte uc,
long Width,
long Height,
CUstream hStream)
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,
CUstream hStream)
Sets device memory. |
static int |
JCudaDriver.cuMemsetD8(CUdeviceptr dstDevice,
byte uc,
long N)
Initializes device memory. |
static int |
JCudaDriver.cuMemsetD8Async(CUdeviceptr dstDevice,
byte uc,
long N,
CUstream hStream)
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.cuPointerGetAttribute(Pointer data,
int attribute,
CUdeviceptr ptr)
Returns information about a pointer. |
static int |
JCudaDriver.cuTexRefGetAddress(CUdeviceptr pdptr,
CUtexref hTexRef)
Gets the address associated with a texture reference. |
static int |
JCudaDriver.cuTexRefSetAddress(long[] 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 |