cuda.bindings._v2.driver.DevProp_v1#

class cuda.bindings._v2.driver.DevProp_v1#

Empty-initialize an instance of CUdevprop_v1.

See also

CUdevprop_v1

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an DevProp_v1 instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an DevProp_v1 instance wrapping the given pointer.

Attributes

clock_rate

int:

max_grid_size

(array of length 3).

max_threads_dim

(array of length 3).

max_threads_per_block

int:

mem_pitch

int:

ptr

Get the pointer address to the data as Python int.

regs_per_block

int:

shared_mem_per_block

int:

simd_width

int:

texture_align

int:

total_constant_memory

int: