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.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.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.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.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.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.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.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.cuGraphDestroyNode(CUgraphNode hNode)
Remove a node from the graph.
|
static int |
JCudaDriver.cuGraphExecHostNodeSetParams(CUgraphExec hGraphExec,
CUgraphNode hNode,
CUDA_HOST_NODE_PARAMS nodeParams)
Sets the parameters for a host node in the given graphExec.
|
static int |
JCudaDriver.cuGraphExecKernelNodeSetParams(CUgraphExec hGraphExec,
CUgraphNode hNode,
CUDA_KERNEL_NODE_PARAMS nodeParams)
Sets the parameters for a kernel node in the given graphExec.
|
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.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.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.cuGraphHostNodeGetParams(CUgraphNode hNode,
CUDA_HOST_NODE_PARAMS nodeParams)
Returns a host node's parameters.
|
static int |
JCudaDriver.cuGraphHostNodeSetParams(CUgraphNode hNode,
CUDA_HOST_NODE_PARAMS nodeParams)
Sets a host node's parameters.
|
static int |
JCudaDriver.cuGraphInstantiate(CUgraphExec phGraphExec,
CUgraph hGraph,
CUgraphNode phErrorNode,
byte[] logBuffer,
long bufferSize)
Creates an executable graph from a graph.
|
static int |
JCudaDriver.cuGraphKernelNodeCopyAttributes(CUgraphNode dst,
CUgraphNode src)
Copies attributes from source node to destination node.
|
static int |
JCudaDriver.cuGraphKernelNodeGetAttribute(CUgraphNode hNode,
int attr,
CUkernelNodeAttrValue value_out)
Queries node attribute.
|
static int |
JCudaDriver.cuGraphKernelNodeGetParams(CUgraphNode hNode,
CUDA_KERNEL_NODE_PARAMS nodeParams)
Returns a kernel node's parameters.
|
static int |
JCudaDriver.cuGraphKernelNodeSetAttribute(CUgraphNode hNode,
int attr,
CUkernelNodeAttrValue value)
Sets node attribute.
|
static int |
JCudaDriver.cuGraphKernelNodeSetParams(CUgraphNode hNode,
CUDA_KERNEL_NODE_PARAMS nodeParams)
Sets a kernel node's parameters.
|
static int |
JCudaDriver.cuGraphMemcpyNodeGetParams(CUgraphNode hNode,
CUDA_MEMCPY3D nodeParams)
Returns a memcpy node's parameters.
|
static int |
JCudaDriver.cuGraphMemcpyNodeSetParams(CUgraphNode hNode,
CUDA_MEMCPY3D nodeParams)
Sets a memcpy node's parameters.
|
static int |
JCudaDriver.cuGraphMemsetNodeGetParams(CUgraphNode hNode,
CUDA_MEMSET_NODE_PARAMS nodeParams)
Returns a memset node's parameters.
|
static int |
JCudaDriver.cuGraphMemsetNodeSetParams(CUgraphNode hNode,
CUDA_MEMSET_NODE_PARAMS nodeParams)
Sets a memset node's parameters.
|
static int |
JCudaDriver.cuGraphNodeFindInClone(CUgraphNode phNode,
CUgraphNode hOriginalNode,
CUgraph hClonedGraph)
Finds a cloned version of a node.
|
static int |
JCudaDriver.cuGraphNodeGetDependencies(CUgraphNode hNode,
CUgraphNode[] dependencies,
long[] numDependencies)
Returns a node's dependencies.
|
static int |
JCudaDriver.cuGraphNodeGetDependencies(CUgraphNode hNode,
CUgraphNode[] dependencies,
long[] numDependencies)
Returns a node's dependencies.
|
static int |
JCudaDriver.cuGraphNodeGetDependentNodes(CUgraphNode hNode,
CUgraphNode[] dependentNodes,
long[] numDependentNodes)
Returns a node's dependent nodes.
|
static int |
JCudaDriver.cuGraphNodeGetDependentNodes(CUgraphNode hNode,
CUgraphNode[] dependentNodes,
long[] numDependentNodes)
Returns a node's dependent nodes.
|
static int |
JCudaDriver.cuGraphNodeGetType(CUgraphNode hNode,
int[] type)
Returns a node's type.
|
static int |
JCudaDriver.cuGraphRemoveDependencies(CUgraph hGraph,
CUgraphNode[] from,
CUgraphNode[] to,
long numDependencies)
Removes dependency edges from a graph.
|
static int |
JCudaDriver.cuGraphRemoveDependencies(CUgraph hGraph,
CUgraphNode[] from,
CUgraphNode[] to,
long numDependencies)
Removes dependency edges from a graph.
|
Copyright © 2020. All rights reserved.