cuda.bindings._v2.driver.MemPoolProps_v1#

class cuda.bindings._v2.driver.MemPoolProps_v1#

Empty-initialize an instance of CUmemPoolProps_v1.

See also

CUmemPoolProps_v1

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an MemPoolProps_v1 instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an MemPoolProps_v1 instance wrapping the given pointer.

Attributes

alloc_type

int:

gpu_direct_rdma_capable

int:

handle_types

int:

location

MemLocation_v1:

max_size

int:

ptr

Get the pointer address to the data as Python int.

usage

int:

win32security_attributes

int: