Package | Description |
---|---|
jcuda.driver |
Contains the classes related to the JCuda driver API.
|
Modifier and Type | Field and Description |
---|---|
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)
|
Modifier and Type | Method and Description |
---|---|
static int |
JCudaDriver.cuCtxAttach(CUcontext pctx,
int flags)
Deprecated.
Deprecated in CUDA
|
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.
Deprecated in CUDA
|
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.cuDevicePrimaryCtxRetain(CUcontext pctx,
CUdevice dev) |
static int |
JCudaDriver.cuGLCtxCreate(CUcontext pCtx,
int Flags,
CUdevice device)
Deprecated.
Deprecated as of CUDA 5.0
|
static int |
JCudaDriver.cuGraphAddMemcpyNode(CUgraphNode phGraphNode,
CUgraph hGraph,
CUgraphNode[] dependencies,
long numDependencies,
CUDA_MEMCPY3D copyParams,
CUcontext ctx)
Creates a memcpy node and adds it to a graph.
|
static int |
JCudaDriver.cuGraphAddMemsetNode(CUgraphNode phGraphNode,
CUgraph hGraph,
CUgraphNode[] dependencies,
long numDependencies,
CUDA_MEMSET_NODE_PARAMS memsetParams,
CUcontext ctx)
Creates a memset node and adds it to a graph.
|
static int |
JCudaDriver.cuGraphExecMemcpyNodeSetParams(CUgraphExec hGraphExec,
CUgraphNode hNode,
CUDA_MEMCPY3D copyParams,
CUcontext ctx)
Sets the parameters for a memcpy node in the given graphExec.
|
static int |
JCudaDriver.cuGraphExecMemsetNodeSetParams(CUgraphExec hGraphExec,
CUgraphNode hNode,
CUDA_MEMSET_NODE_PARAMS memsetParams,
CUcontext ctx)
Sets the parameters for a memset node in the given graphExec.
|
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.cuStreamGetCtx(CUstream hStream,
CUcontext pctx)
Query the context associated with a stream.
|
Copyright © 2020. All rights reserved.