cuda.bindings.cufile.Descr

class cuda.bindings.cufile.Descr(size=1)

Empty-initialize an array of CUfileDescr_t.

The resulting object is of length size and of dtype descr_dtype. If default-constructed, the instance represents a single struct.

Parameters:

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

See also

CUfileDescr_t

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

from_data(data)

Create an Descr instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, size_t size=1, ...)

Create an Descr instance wrapping the given pointer.

Attributes

fs_ops

Union[~_numpy.intp, int]:

handle

_py_anon_pod1_dtype:

ptr

Get the pointer address to the data as Python int.

type

Union[~_numpy.int32, int]: