CUfileOpError.h(3)
π CUfileOpError.h(3) β from the Library Functions Manual π
β¨ NAME β¨
CUfileOpError.h β the header that holds all the CUfileOpError status codes from GPUDirect Storage supported APIs. That's the whole name, bestie. π
πΈ SYNOPSIS πΈ
π Typedefs π
typedef enum CUfileOpError CUfileOpErrorβ cufileop status enum.
π Enumerations π
enum CUfileOpError { ... }β cufileop status enum.
The big enum, with every value kept exactly as-is (yes, even the little stray " at the end β facts don't change, bestie π):
typedef enum CUfileOpError CUfileOpError
cufileop status enum.
enum CUfileOpError {
CU_FILE_SUCCESS = 0,
CU_FILE_DRIVER_NOT_INITIALIZED = 5001,
CU_FILE_DRIVER_INVALID_PROPS = 5002,
CU_FILE_DRIVER_UNSUPPORTED_LIMIT = 5003,
CU_FILE_DRIVER_VERSION_MISMATCH = 5004,
CU_FILE_DRIVER_VERSION_READ_ERROR = 5005,
CU_FILE_DRIVER_CLOSING = 5006,
CU_FILE_PLATFORM_NOT_SUPPORTED = 5007,
CU_FILE_IO_NOT_SUPPORTED = 5008,
CU_FILE_DEVICE_NOT_SUPPORTED = 5009,
CU_FILE_NVFS_DRIVER_ERROR = 5010,
CU_FILE_CUDA_DRIVER_ERROR = 5011,
CU_FILE_CUDA_POINTER_INVALID = 5012,
CU_FILE_CUDA_MEMORY_TYPE_INVALID = 5013,
CU_FILE_CUDA_POINTER_RANGE_ERROR = 5014,
CU_FILE_CUDA_CONTEXT_MISMATCH = 5015,
CU_FILE_INVALID_MAPPING_SIZE = 5016,
CU_FILE_INVALID_MAPPING_RANGE = 5017,
CU_FILE_INVALID_FILE_TYPE = 5018,
CU_FILE_INVALID_FILE_OPEN_FLAG = 5019,
CU_FILE_DIO_NOT_SET = 5020,
CU_FILE_EXPECTED_FILE_MODE = 5021,
CU_FILE_INVALID_VALUE = 5022,
CU_FILE_MEMORY_ALREADY_REGISTERED = 5023,
CU_FILE_MEMORY_NOT_REGISTERED = 5024,
CU_FILE_PERMISSION_DENIED = 5025,
CU_FILE_DRIVER_ALREADY_OPEN = 5026,
CU_FILE_HANDLE_NOT_REGISTERED = 5027,
CU_FILE_HANDLE_ALREADY_REGISTERED = 5028,
CU_FILE_DEVICE_NOT_FOUND = 5029,
CU_FILE_INTERNAL_ERROR = 5030,
CU_FILE_GETNEWFD_FAILED = 5031,
CU_FILE_NVFS_SETUP_ERROR = 5033,
CU_FILE_IO_DISABLED = 5034,
CU_FILE_BATCH_SUBMIT_FAILED = 5035,
CU_FILE_GPU_MEMORY_PINNING_FAILED = 5036
} cufileop status enum. "
π Typedef Documentation π
typedef enum CUfileOpError CUfileOpError β cufileop status enum.
Note, bestie: This file contains all theCUfileOpErrorerror codes from GPUDirect Storage supported APIs. On success the error code is set toCU_FILE_SUCCESS. The error code can be inspected usingIS_CUFILE_ERRandCUFILE_ERRSTR. The error code if set toCU_FILE_CUDA_DRIVER_ERROR, then cuda error can be inspected usingIS_CUDA_ERRandCU_FILE_CUDA_ERR. Data path errors are captured via standard error codes.
π Enumeration Type Documentation π
enum CUfileOpError β cufileop status enum.
Note, again because it matters: This file contains all theCUfileOpErrorerror codes from GPUDirect Storage supported APIs. On success the error code is set toCU_FILE_SUCCESS. The error code can be inspected usingIS_CUFILE_ERRandCUFILE_ERRSTR. The error code if set toCU_FILE_CUDA_DRIVER_ERROR, then cuda error can be inspected usingIS_CUDA_ERRandCU_FILE_CUDA_ERR. Data path errors are captured via standard error codes.
π Enumerator π
CU_FILE_SUCCESSβ cufile success β¨CU_FILE_DRIVER_NOT_INITIALIZEDβ nvidia-fs driver is not loaded. Setallow_compat_modetotrueincufile.jsonfile to enable compatible mode πCU_FILE_DRIVER_INVALID_PROPSβ invalid propertyCU_FILE_DRIVER_UNSUPPORTED_LIMITβ property range errorCU_FILE_DRIVER_VERSION_MISMATCHβ nvidia-fs driver version mismatchCU_FILE_DRIVER_VERSION_READ_ERRORβ nvidia-fs driver version read errorCU_FILE_DRIVER_CLOSINGβ driver shutdown in progressCU_FILE_PLATFORM_NOT_SUPPORTEDβ GPUDirect Storage not supported on current platformCU_FILE_IO_NOT_SUPPORTEDβ GPUDirect Storage not supported on current fileCU_FILE_DEVICE_NOT_SUPPORTEDβ GPUDirect Storage not supported on current GPUCU_FILE_NVFS_DRIVER_ERRORβ nvidia-fs driver ioctl errorCU_FILE_CUDA_DRIVER_ERRORβ CUDA Driver API errorCU_FILE_CUDA_POINTER_INVALIDβ invalid device pointerCU_FILE_CUDA_MEMORY_TYPE_INVALIDβ invalid pointer memory typeCU_FILE_CUDA_POINTER_RANGE_ERRORβ pointer range exceeds allocated address rangeCU_FILE_CUDA_CONTEXT_MISMATCHβ cuda context mismatchCU_FILE_INVALID_MAPPING_SIZEβ access beyond maximum pinned sizeCU_FILE_INVALID_MAPPING_RANGEβ access beyond mapped sizeCU_FILE_INVALID_FILE_TYPEβ unsupported file typeCU_FILE_INVALID_FILE_OPEN_FLAGβ unsupported file open flagsCU_FILE_DIO_NOT_SETβ fd direct IO not setCU_FILE_EXPECTED_FILE_MODEβ file open needs modeCU_FILE_INVALID_VALUEβ invalid api argumentsCU_FILE_MEMORY_ALREADY_REGISTEREDβ device pointer already registeredCU_FILE_MEMORY_NOT_REGISTEREDβ device pointer lookup failureCU_FILE_PERMISSION_DENIEDβ driver or file access errorCU_FILE_DRIVER_ALREADY_OPENβ driver is already openCU_FILE_HANDLE_NOT_REGISTEREDβ file descriptor is not registeredCU_FILE_HANDLE_ALREADY_REGISTEREDβ file descriptor is already registeredCU_FILE_DEVICE_NOT_FOUNDβ GPU device not foundCU_FILE_INTERNAL_ERRORβ internal errorCU_FILE_GETNEWFD_FAILEDβ failed to obtain new file descriptorCU_FILE_NVFS_SETUP_ERRORβ NVFS driver initialization errorCU_FILE_IO_DISABLEDβ GPUDirect Storage disabled by config on current fileCU_FILE_BATCH_SUBMIT_FAILEDβ Batch IO Submit FailureCU_FILE_GPU_MEMORY_PINNING_FAILEDβ Buf Register Failed due to Bar memory Constraints
π Author π
Generated automatically by Doxygen for GPUDirect Storage from the source code. The robots wrote this one, no cap π«Ά
Source/version: GPUDirect Storage. Date: Wed Mar 13 2024. That's the footer tea, bestie β bye-bye! ππ
π¦ where this page comes from
- debian trixie: libcufile-dev 1.9.1.3~12.4.1-2 Β· GPL-3.0-or-later
- ubuntu questing: libcufile-dev 1.9.1.3~12.4.1-4build1
- ubuntu resolute: libcufile-dev 1.9.1.3~12.4.1-8 Β· GPL-3.0-or-later
- ubuntu stonking: libcufile-dev 1.9.1.3~12.4.1-8.2ubuntu2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms