Crate cufile_sys

Crate cufile_sys 

Source
Expand description

Minimal raw FFI for NVIDIA’s libcufile (GPUDirect Storage / GDS).

Loaded via dlopen so a binary can probe whether GDS is available without failing to launch when libcufile.so is absent. Only the symbols Atlas actually uses for the high-speed-swap path are bound here; extend as needed.

GDS is not currently supported on GB10 hardware (see docs/adr/0008-nvme-high-speed-swap.md) — this crate is dormant on that target and will become live when a GDS-capable platform lands.

Structs§

CUfileDescrHandle
CUfileDescr_t
CUfileError_t
CuFile

Constants§

CUFILEOP_BASE_ERR
CU_FILE_DEVICE_NOT_SUPPORTED
CU_FILE_DRIVER_NOT_INITIALIZED
CU_FILE_HANDLE_TYPE_OPAQUE_FD
CU_FILE_IO_NOT_SUPPORTED
CU_FILE_PLATFORM_NOT_SUPPORTED
CU_FILE_SUCCESS

Functions§

err_to_str
nvidia_fs_loaded

Type Aliases§

CUfileHandle_t
CUfileOpError
CUresult
FnBufDeregister
FnBufRegister
FnDriverClose
FnDriverOpen
FnGetVersion
FnHandleDeregister
FnHandleRegister
FnRead
FnWrite