CUfileOpError.h(3) Library Functions Manual CUfileOpError.h(3)

CUfileOpError.h


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. "

cufileop status enum.

Note:

This file contains all the CUfileOpError error codes from GPUDirect Storage supported APIs

on success the error code is set to CU_FILE_SUCCESS.

The error code can be inspected using IS_CUFILE_ERR and CUFILE_ERRSTR.

The error code if set to CU_FILE_CUDA_DRIVER_ERROR, then cuda error can be inspected using IS_CUDA_ERR and CU_FILE_CUDA_ERR.

Data path errors are captured via standard error codes

cufileop status enum.

Note:

This file contains all the CUfileOpError error codes from GPUDirect Storage supported APIs

on success the error code is set to CU_FILE_SUCCESS.

The error code can be inspected using IS_CUFILE_ERR and CUFILE_ERRSTR.

The error code if set to CU_FILE_CUDA_DRIVER_ERROR, then cuda error can be inspected using IS_CUDA_ERR and CU_FILE_CUDA_ERR.

Data path errors are captured via standard error codes

Enumerator

cufile success
nvidia-fs driver is not loaded
invalid property
property range error
nvidia-fs driver version mismatch
nvidia-fs driver version read error
driver shutdown in progress
GPUDirect Storage not supported on current platform
GPUDirect Storage not supported on current file
GPUDirect Storage not supported on current GPU
nvidia-fs driver ioctl error
CUDA Driver API error
invalid device pointer
invalid pointer memory type
pointer range exceeds allocated address range
cuda context mismatch
access beyond maximum pinned size
access beyond mapped size
unsupported file type
unsupported file open flags
fd direct IO not set
file open needs mode
invalid api arguments
device pointer already registered
device pointer lookup failure
driver or file access error
driver is already open
file descriptor is not registered
file descriptor is already registered
GPU device not found
internal error
failed to obtain new file descriptor
NVFS driver initialization error
GPUDirect Storage disabled by config on current file
Batch IO Submit Failure
Buf Register Failed due to Bar memory Constraints

Generated automatically by Doxygen for GPUDirect Storage from the source code.

Wed Dec 14 2022 GPUDirect Storage