Package | Description |
---|---|
jcuda.driver |
Contains the classes related to the JCuda driver API.
|
Modifier and Type | Method and Description |
---|---|
static int |
JCudaDriver.cuGraphAddChildGraphNode(CUgraphNode phGraphNode,
CUgraph hGraph,
CUgraphNode[] dependencies,
long numDependencies,
CUgraph childGraph)
Creates a child graph node and adds it to a graph.
|
static int |
JCudaDriver.cuGraphAddDependencies(CUgraph hGraph,
CUgraphNode[] from,
CUgraphNode[] to,
long numDependencies)
Adds dependency edges to a graph.
|
static int |
JCudaDriver.cuGraphAddEmptyNode(CUgraphNode phGraphNode,
CUgraph hGraph,
CUgraphNode[] dependencies,
long numDependencies)
Creates an empty node and adds it to a graph.
|
static int |
JCudaDriver.cuGraphAddHostNode(CUgraphNode phGraphNode,
CUgraph hGraph,
CUgraphNode[] dependencies,
long numDependencies,
CUDA_HOST_NODE_PARAMS nodeParams)
Creates a host execution node and adds it to a graph.
|
static int |
JCudaDriver.cuGraphAddKernelNode(CUgraphNode phGraphNode,
CUgraph hGraph,
CUgraphNode[] dependencies,
long numDependencies,
CUDA_KERNEL_NODE_PARAMS nodeParams)
Creates a kernel execution node and adds it to a graph.
|
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.cuGraphChildGraphNodeGetGraph(CUgraphNode hNode,
CUgraph phGraph)
Gets a handle to the embedded graph of a child graph node.
|
static int |
JCudaDriver.cuGraphClone(CUgraph phGraphClone,
CUgraph originalGraph)
Clones a graph.
|
static int |
JCudaDriver.cuGraphCreate(CUgraph phGraph,
int flags)
Creates a graph.
|
static int |
JCudaDriver.cuGraphDestroy(CUgraph hGraph)
Destroys a graph.
|
static int |
JCudaDriver.cuGraphExecUpdate(CUgraphExec hGraphExec,
CUgraph hGraph,
CUgraphNode hErrorNode_out,
int[] updateResult_out)
Check whether an executable graph can be updated with a graph and perform the update if possible.
|
static int |
JCudaDriver.cuGraphGetEdges(CUgraph hGraph,
CUgraphNode[] from,
CUgraphNode[] to,
long[] numEdges)
Returns a graph's dependency edges.
|
static int |
JCudaDriver.cuGraphGetNodes(CUgraph hGraph,
CUgraphNode[] nodes,
long[] numNodes)
Returns a graph's nodes.
|
static int |
JCudaDriver.cuGraphGetRootNodes(CUgraph hGraph,
CUgraphNode[] rootNodes,
long[] numRootNodes)
Returns a graph's root nodes.
|
static int |
JCudaDriver.cuGraphInstantiate(CUgraphExec phGraphExec,
CUgraph hGraph,
CUgraphNode phErrorNode,
byte[] logBuffer,
long bufferSize)
Creates an executable graph from a graph.
|
static int |
JCudaDriver.cuGraphNodeFindInClone(CUgraphNode phNode,
CUgraphNode hOriginalNode,
CUgraph hClonedGraph)
Finds a cloned version of a node.
|
static int |
JCudaDriver.cuGraphRemoveDependencies(CUgraph hGraph,
CUgraphNode[] from,
CUgraphNode[] to,
long numDependencies)
Removes dependency edges from a graph.
|
static int |
JCudaDriver.cuStreamEndCapture(CUstream hStream,
CUgraph phGraph)
Ends capture on a stream, returning the captured graph.
|
Copyright © 2020. All rights reserved.