cuda.bindings._v2.driver.LaunchParams_v1#

class cuda.bindings._v2.driver.LaunchParams_v1#

Empty-initialize an instance of CUDA_LAUNCH_PARAMS_v1.

See also

CUDA_LAUNCH_PARAMS_v1

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an LaunchParams_v1 instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an LaunchParams_v1 instance wrapping the given pointer.

Attributes

block_dim_x

int:

block_dim_y

int:

block_dim_z

int:

function

int:

grid_dim_x

int:

grid_dim_y

int:

grid_dim_z

int:

h_stream

int:

kernel_params

int:

ptr

Get the pointer address to the data as Python int.

shared_mem_bytes

int: