Expand description
Raw FFI + dynamic loader for NVIDIA cuFile (GPUDirect Storage).
Linux-only: cuFile calls ibverbs + NVIDIA’s GDS kernel driver and has
no Windows/macOS analogue. On non-Linux platforms the loader returns
LoaderError::UnsupportedPlatform.
Modules§
- CUfile
Opcode - Opcode selector for
CUfileIOParams_t.
Structs§
- CUfile
Descr_ t CUfileDescr_t— struct describing a file (Unix fd or Win32 handle) for registration. cuFile’s own layout is an outer tagged union; we model only the Unix-fd path since this API is Linux-only anyway.- CUfile
Error_ t CUfileError_t— status plus a CUDA error code (for I/O that dispatched through the GPU).- CUfileIO
Events_ t CUfileIOEvents_t— status for a single batched-I/O entry.- CUfileIO
Params_ t CUfileIOParams_t— 1 entry in a batched-IO request.- CUfile
OpError - cuFile operation status (a.k.a.
CUfileOpError). - Cufile
Functions§
Type Aliases§
- CUfile
Batch Handle_ t - Opaque batch-handle (maps to
CUfileBatchHandle_t). - CUfile
Handle_ t CUfileHandle_t— opaque handle returned bycuFileHandleRegister.- PFN_
cuFile BatchIO Cancel - PFN_
cuFile BatchIO Destroy - PFN_
cuFile BatchIO GetStatus - PFN_
cuFile BatchIO SetUp - PFN_
cuFile BatchIO Submit - PFN_
cuFile BufDeregister - PFN_
cuFile BufRegister - PFN_
cuFile Driver Close - PFN_
cuFile Driver GetProperties - PFN_
cuFile Driver Open - PFN_
cuFile Driver SetMax Cache Size - PFN_
cuFile Driver SetMax DirectIO Size - PFN_
cuFile Driver SetMax Pinned MemSize - PFN_
cuFile Driver SetPoll Mode - PFN_
cuFile GetVersion - PFN_
cuFile Handle Deregister - PFN_
cuFile Handle Register - PFN_
cuFile OpStatus Error - PFN_
cuFile Read - PFN_
cuFile Read Async - PFN_
cuFile Stream Deregister - PFN_
cuFile Stream Register - PFN_
cuFile UseCount - PFN_
cuFile Write - PFN_
cuFile Write Async