cufile¶
The cuda.bindings.cufile
Python module wraps the
cuFile C APIs.
Supported on Linux only.
Currently using this module requires NumPy to be present. Any recent NumPy 1.x or 2.x should work.
Functions¶
|
cuFileHandleRegister is required, and performs extra checking that is memoized to provide increased performance on later cuFile operations. |
|
releases a registered filehandle from cuFile. |
|
register an existing cudaMalloced memory with cuFile to pin for GPUDirect Storage access or register host allocated memory with cuFile. |
|
deregister an already registered device or host memory from cuFile. |
|
read data from a registered file handle to a specified device or host memory. |
|
write data from a specified device or host memory to a registered file handle. |
Initialize the cuFile library and open the nvidia-fs driver. |
|
returns use count of cufile drivers at that moment by the process. |
|
|
Gets the Driver session properties. |
|
Sets whether the Read/Write APIs use polling to do IO operations. |
Control parameter to set max IO size(KB) used by the library to talk to nvidia-fs driver. |
|
|
Control parameter to set maximum GPU memory reserved per device by the library for internal buffering. |
Sets maximum buffer space that is pinned in KB for use by |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cufileop status string. |
reset the cuFile library and release the nvidia-fs driver |
Types¶
|
Empty-initialize an array of |
|
Empty-initialize an array of |
|
Empty-initialize an array of |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|