cuda.bindings._v2.driver.LaunchParams_v1#

class cuda.bindings._v2.driver.LaunchParams_v1(size=1)#

Empty-initialize an array of CUDA_LAUNCH_PARAMS_v1. The resulting object is of length size and of dtype launch_params_v1_dtype. If default-constructed, the instance represents a single struct.

Parameters:

size (int) – number of structs, default=1.

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, size_t size=1, ...[, ...])

Create an LaunchParams_v1 instance wrapping the given pointer.

Attributes

block_dim_x

Union[~_numpy.uint32, int]:

block_dim_y

Union[~_numpy.uint32, int]:

block_dim_z

Union[~_numpy.uint32, int]:

function

Union[~_numpy.intp, int]:

grid_dim_x

Union[~_numpy.uint32, int]:

grid_dim_y

Union[~_numpy.uint32, int]:

grid_dim_z

Union[~_numpy.uint32, int]:

h_stream

Union[~_numpy.intp, int]:

kernel_params

Union[~_numpy.intp, int]:

ptr

Get the pointer address to the data as Python int.

shared_mem_bytes

Union[~_numpy.uint32, int]: