cuda.bindings.cufile.IOParams

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

Empty-initialize an array of CUfileIOParams_t.

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

Parameters:

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

See also

CUfileIOParams_t

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

from_data(data)

Create an IOParams instance wrapping the given NumPy array.

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

Create an IOParams instance wrapping the given pointer.

Attributes

cookie

Union[~_numpy.intp, int]:

fh

Union[~_numpy.intp, int]:

mode

Union[~_numpy.int32, int]:

opcode

Union[~_numpy.int32, int]:

ptr

Get the pointer address to the data as Python int.

u

_py_anon_pod2_dtype: