Skip to main content

CUfileOpError

Enum CUfileOpError 

Source
#[repr(u32)]
pub enum CUfileOpError {
Show 49 variants CU_FILE_SUCCESS = 0, CU_FILE_DRIVER_NOT_INITIALIZED = 5_001, CU_FILE_DRIVER_INVALID_PROPS = 5_002, CU_FILE_DRIVER_UNSUPPORTED_LIMIT = 5_003, CU_FILE_DRIVER_VERSION_MISMATCH = 5_004, CU_FILE_DRIVER_VERSION_READ_ERROR = 5_005, CU_FILE_DRIVER_CLOSING = 5_006, CU_FILE_PLATFORM_NOT_SUPPORTED = 5_007, CU_FILE_IO_NOT_SUPPORTED = 5_008, CU_FILE_DEVICE_NOT_SUPPORTED = 5_009, CU_FILE_NVFS_DRIVER_ERROR = 5_010, CU_FILE_CUDA_DRIVER_ERROR = 5_011, CU_FILE_CUDA_POINTER_INVALID = 5_012, CU_FILE_CUDA_MEMORY_TYPE_INVALID = 5_013, CU_FILE_CUDA_POINTER_RANGE_ERROR = 5_014, CU_FILE_CUDA_CONTEXT_MISMATCH = 5_015, CU_FILE_INVALID_MAPPING_SIZE = 5_016, CU_FILE_INVALID_MAPPING_RANGE = 5_017, CU_FILE_INVALID_FILE_TYPE = 5_018, CU_FILE_INVALID_FILE_OPEN_FLAG = 5_019, CU_FILE_DIO_NOT_SET = 5_020, CU_FILE_INVALID_VALUE = 5_022, CU_FILE_MEMORY_ALREADY_REGISTERED = 5_023, CU_FILE_MEMORY_NOT_REGISTERED = 5_024, CU_FILE_PERMISSION_DENIED = 5_025, CU_FILE_DRIVER_ALREADY_OPEN = 5_026, CU_FILE_HANDLE_NOT_REGISTERED = 5_027, CU_FILE_HANDLE_ALREADY_REGISTERED = 5_028, CU_FILE_DEVICE_NOT_FOUND = 5_029, CU_FILE_INTERNAL_ERROR = 5_030, CU_FILE_GETNEWFD_FAILED = 5_031, CU_FILE_NVFS_SETUP_ERROR = 5_033, CU_FILE_IO_DISABLED = 5_034, CU_FILE_BATCH_SUBMIT_FAILED = 5_035, CU_FILE_GPU_MEMORY_PINNING_FAILED = 5_036, CU_FILE_BATCH_FULL = 5_037, CU_FILE_ASYNC_NOT_SUPPORTED = 5_038, CU_FILE_INTERNAL_BATCH_SETUP_ERROR = 5_039, CU_FILE_INTERNAL_BATCH_SUBMIT_ERROR = 5_040, CU_FILE_INTERNAL_BATCH_GETSTATUS_ERROR = 5_041, CU_FILE_INTERNAL_BATCH_CANCEL_ERROR = 5_042, CU_FILE_NOMEM_ERROR = 5_043, CU_FILE_IO_ERROR = 5_044, CU_FILE_INTERNAL_BUF_REGISTER_ERROR = 5_045, CU_FILE_HASH_OPR_ERROR = 5_046, CU_FILE_INVALID_CONTEXT_ERROR = 5_047, CU_FILE_NVFS_INTERNAL_DRIVER_ERROR = 5_048, CU_FILE_BATCH_NOCOMPAT_ERROR = 5_049, CU_FILE_IO_MAX_ERROR = 5_050,
}

Variants§

§

CU_FILE_SUCCESS = 0

§

CU_FILE_DRIVER_NOT_INITIALIZED = 5_001

§

CU_FILE_DRIVER_INVALID_PROPS = 5_002

§

CU_FILE_DRIVER_UNSUPPORTED_LIMIT = 5_003

§

CU_FILE_DRIVER_VERSION_MISMATCH = 5_004

§

CU_FILE_DRIVER_VERSION_READ_ERROR = 5_005

§

CU_FILE_DRIVER_CLOSING = 5_006

§

CU_FILE_PLATFORM_NOT_SUPPORTED = 5_007

§

CU_FILE_IO_NOT_SUPPORTED = 5_008

§

CU_FILE_DEVICE_NOT_SUPPORTED = 5_009

§

CU_FILE_NVFS_DRIVER_ERROR = 5_010

§

CU_FILE_CUDA_DRIVER_ERROR = 5_011

§

CU_FILE_CUDA_POINTER_INVALID = 5_012

§

CU_FILE_CUDA_MEMORY_TYPE_INVALID = 5_013

§

CU_FILE_CUDA_POINTER_RANGE_ERROR = 5_014

§

CU_FILE_CUDA_CONTEXT_MISMATCH = 5_015

§

CU_FILE_INVALID_MAPPING_SIZE = 5_016

§

CU_FILE_INVALID_MAPPING_RANGE = 5_017

§

CU_FILE_INVALID_FILE_TYPE = 5_018

§

CU_FILE_INVALID_FILE_OPEN_FLAG = 5_019

§

CU_FILE_DIO_NOT_SET = 5_020

§

CU_FILE_INVALID_VALUE = 5_022

§

CU_FILE_MEMORY_ALREADY_REGISTERED = 5_023

§

CU_FILE_MEMORY_NOT_REGISTERED = 5_024

§

CU_FILE_PERMISSION_DENIED = 5_025

§

CU_FILE_DRIVER_ALREADY_OPEN = 5_026

§

CU_FILE_HANDLE_NOT_REGISTERED = 5_027

§

CU_FILE_HANDLE_ALREADY_REGISTERED = 5_028

§

CU_FILE_DEVICE_NOT_FOUND = 5_029

§

CU_FILE_INTERNAL_ERROR = 5_030

§

CU_FILE_GETNEWFD_FAILED = 5_031

§

CU_FILE_NVFS_SETUP_ERROR = 5_033

§

CU_FILE_IO_DISABLED = 5_034

§

CU_FILE_BATCH_SUBMIT_FAILED = 5_035

§

CU_FILE_GPU_MEMORY_PINNING_FAILED = 5_036

§

CU_FILE_BATCH_FULL = 5_037

§

CU_FILE_ASYNC_NOT_SUPPORTED = 5_038

§

CU_FILE_INTERNAL_BATCH_SETUP_ERROR = 5_039

§

CU_FILE_INTERNAL_BATCH_SUBMIT_ERROR = 5_040

§

CU_FILE_INTERNAL_BATCH_GETSTATUS_ERROR = 5_041

§

CU_FILE_INTERNAL_BATCH_CANCEL_ERROR = 5_042

§

CU_FILE_NOMEM_ERROR = 5_043

§

CU_FILE_IO_ERROR = 5_044

§

CU_FILE_INTERNAL_BUF_REGISTER_ERROR = 5_045

§

CU_FILE_HASH_OPR_ERROR = 5_046

§

CU_FILE_INVALID_CONTEXT_ERROR = 5_047

§

CU_FILE_NVFS_INTERNAL_DRIVER_ERROR = 5_048

§

CU_FILE_BATCH_NOCOMPAT_ERROR = 5_049

§

CU_FILE_IO_MAX_ERROR = 5_050

Implementations§

Trait Implementations§

Source§

impl Clone for CUfileOpError

Source§

fn clone(&self) -> CUfileOpError

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CUfileOpError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for CUfileOpError

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for CUfileOpError

Source§

fn cmp(&self, other: &CUfileOpError) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for CUfileOpError

Source§

fn eq(&self, other: &CUfileOpError) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for CUfileOpError

Source§

fn partial_cmp(&self, other: &CUfileOpError) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for CUfileOpError

Source§

impl Eq for CUfileOpError

Source§

impl StructuralPartialEq for CUfileOpError

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V