|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CUcontext | |
---|---|
jcuda.driver | Contains the classes related to the JCuda driver API. |
Uses of CUcontext in jcuda.driver |
---|
Fields in jcuda.driver declared as CUcontext | |
---|---|
CUcontext |
CUDA_MEMCPY3D_PEER.dstContext
Destination context (ignored with dstMemoryType is ::CU_MEMORYTYPE_ARRAY) |
CUcontext |
CUDA_MEMCPY3D_PEER.srcContext
Source context (ignored with srcMemoryType is ::CU_MEMORYTYPE_ARRAY) |
Methods in jcuda.driver with parameters of type CUcontext | |
---|---|
static int |
JCudaDriver.cuCtxAttach(CUcontext pctx,
int flags)
Deprecated. This function is deprecated in the latest CUDA version |
static int |
JCudaDriver.cuCtxCreate(CUcontext pctx,
int flags,
CUdevice dev)
Create a CUDA context. |
static int |
JCudaDriver.cuCtxDestroy(CUcontext ctx)
Destroy a CUDA context. |
static int |
JCudaDriver.cuCtxDetach(CUcontext ctx)
Deprecated. This function is deprecated in the latest CUDA version |
static int |
JCudaDriver.cuCtxDisablePeerAccess(CUcontext peerContext)
Disables direct access to memory allocations in a peer context and unregisters any registered allocations. |
static int |
JCudaDriver.cuCtxEnablePeerAccess(CUcontext peerContext,
int Flags)
Enables direct access to memory allocations in a peer context. |
static int |
JCudaDriver.cuCtxGetCurrent(CUcontext pctx)
Returns the CUDA context bound to the calling CPU thread. |
static int |
JCudaDriver.cuCtxPopCurrent(CUcontext pctx)
Pops the current CUDA context from the current CPU thread. |
static int |
JCudaDriver.cuCtxPushCurrent(CUcontext ctx)
Pushes a context on the current CPU thread. |
static int |
JCudaDriver.cuCtxSetCurrent(CUcontext ctx)
Binds the specified CUDA context to the calling CPU thread. |
static int |
JCudaDriver.cuGLCtxCreate(CUcontext pCtx,
int Flags,
CUdevice device)
Create a CUDA context for interoperability with OpenGL. |
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.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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |