Uses of Class
jcuda.driver.CUcontext

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)
          Increment a context's usage-count.
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)
          Decrement a context's usage-count.
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.cuCtxGetApiVersion(CUcontext ctx, int[] version)
          Gets the context's API version.
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.