cuda.bindings._v2.driver.ConditionalNodeParams#

class cuda.bindings._v2.driver.ConditionalNodeParams#

Empty-initialize an instance of CUDA_CONDITIONAL_NODE_PARAMS.

See also

CUDA_CONDITIONAL_NODE_PARAMS

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

Create an ConditionalNodeParams instance with the memory from the given buffer.

from_data(data)

Create an ConditionalNodeParams instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an ConditionalNodeParams instance wrapping the given pointer.

Attributes

ctx

Context on which to run the node.

handle

Conditional node handle.

ph_graph_out

ptr

Get the pointer address to the data as Python int.

size_

Size of graph output array.

type

Type of conditional node.