cuda.bindings._v2.driver.CtxCreateParams#

class cuda.bindings._v2.driver.CtxCreateParams#

Empty-initialize an instance of CUctxCreateParams.

See also

CUctxCreateParams

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an CtxCreateParams instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an CtxCreateParams instance wrapping the given pointer.

Attributes

cig_params

int:

exec_affinity_params

int:

num_exec_affinity_params

int:

ptr

Get the pointer address to the data as Python int.