@Properties(inherit=cudart.class) public class CUDA_CONDITIONAL_NODE_PARAMS extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CUDA_CONDITIONAL_NODE_PARAMS()
Default native constructor.
|
CUDA_CONDITIONAL_NODE_PARAMS(long size)
Native array allocator.
|
CUDA_CONDITIONAL_NODE_PARAMS(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
CUctx_st |
ctx()
Context on which to run the node.
|
CUDA_CONDITIONAL_NODE_PARAMS |
ctx(CUctx_st setter) |
CUDA_CONDITIONAL_NODE_PARAMS |
getPointer(long i) |
long |
handle()
Conditional node handle.
|
CUDA_CONDITIONAL_NODE_PARAMS |
handle(long setter) |
CUgraph_st |
phGraph_out()
CUDA-owned array populated with conditional node child graphs during creation of the node.
|
CUDA_CONDITIONAL_NODE_PARAMS |
phGraph_out(CUgraph_st setter) |
CUDA_CONDITIONAL_NODE_PARAMS |
position(long position) |
int |
size()
Size of graph output array.
|
CUDA_CONDITIONAL_NODE_PARAMS |
size(int setter) |
int |
type()
Type of conditional node.
|
CUDA_CONDITIONAL_NODE_PARAMS |
type(int setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public CUDA_CONDITIONAL_NODE_PARAMS()
public CUDA_CONDITIONAL_NODE_PARAMS(long size)
Pointer.position(long)
.public CUDA_CONDITIONAL_NODE_PARAMS(Pointer p)
Pointer(Pointer)
.public CUDA_CONDITIONAL_NODE_PARAMS position(long position)
public CUDA_CONDITIONAL_NODE_PARAMS getPointer(long i)
getPointer
in class Pointer
@Cast(value="CUgraphConditionalHandle") public long handle()
public CUDA_CONDITIONAL_NODE_PARAMS handle(long setter)
public CUDA_CONDITIONAL_NODE_PARAMS type(int setter)
public CUDA_CONDITIONAL_NODE_PARAMS size(int setter)
@ByPtrPtr public CUgraph_st phGraph_out()
- Allowed node types are kernel nodes, empty nodes, child graphs, memsets, memcopies, and conditionals. This applies recursively to child graphs and conditional bodies. - All kernels, including kernels in nested conditionals or child graphs at any level, must belong to the same CUDA context.
These graphs may be populated using graph node creation APIs or ::cuStreamBeginCaptureToGraph.
public CUDA_CONDITIONAL_NODE_PARAMS phGraph_out(CUgraph_st setter)
public CUctx_st ctx()
public CUDA_CONDITIONAL_NODE_PARAMS ctx(CUctx_st setter)
Copyright © 2024. All rights reserved.