pub enum CudaErrorKind {
Show 59 variants
Success,
InvalidValue,
OutOfMemory,
NotInitialized,
Deinitialized,
ProfilerDisabled,
ProfilerNotInitialized,
ProfilerAlreadyStarted,
ProfilerAlreadyStopped,
NoDevice,
InvalidDevice,
InvalidImage,
InvalidContext,
ContextAlreadyCurrent,
MapFailed,
UnmapFailed,
ArrayIsMapped,
AlreadyMapped,
NoBinaryForGpu,
AlreadyAcquired,
NotMapped,
NotMappedAsArray,
NotMappedAsPointer,
EccUncorrectable,
UnsupportedLimit,
ContextAlreadyInUse,
PeerAccessUnsupported,
InvalidPtx,
InvalidGraphicsContext,
NvlinkUncorrectable,
InvalidSouce,
FileNotFound,
SharedObjectSymbolNotFound,
SharedObjectInitFailed,
OperatingSystemError,
InvalidHandle,
NotFound,
NotReady,
IllegalAddress,
LaunchOutOfResources,
LaunchTimeout,
LaunchIncompatibleTexturing,
PeerAccessAlreadyEnabled,
PeerAccessNotEnabled,
PrimaryContextActive,
ContextIsDestroyed,
AssertError,
TooManyPeers,
HostMemoryAlreadyRegistered,
HostMemoryNotRegistered,
HardwareStackError,
IllegalInstruction,
MisalignedAddress,
InvalidAddressSpace,
InvalidProgramCounter,
LaunchFailed,
NotPermitted,
NotSupported,
Unknown,
}Expand description
All possible CUDA error kinds
Variants§
Success
InvalidValue
OutOfMemory
NotInitialized
Deinitialized
ProfilerDisabled
ProfilerNotInitialized
ProfilerAlreadyStarted
ProfilerAlreadyStopped
NoDevice
InvalidDevice
InvalidImage
InvalidContext
ContextAlreadyCurrent
MapFailed
UnmapFailed
ArrayIsMapped
AlreadyMapped
NoBinaryForGpu
AlreadyAcquired
NotMapped
NotMappedAsArray
NotMappedAsPointer
EccUncorrectable
UnsupportedLimit
ContextAlreadyInUse
PeerAccessUnsupported
InvalidPtx
InvalidGraphicsContext
NvlinkUncorrectable
InvalidSouce
FileNotFound
OperatingSystemError
InvalidHandle
NotFound
NotReady
IllegalAddress
LaunchOutOfResources
LaunchTimeout
LaunchIncompatibleTexturing
PeerAccessAlreadyEnabled
PeerAccessNotEnabled
PrimaryContextActive
ContextIsDestroyed
AssertError
TooManyPeers
HostMemoryAlreadyRegistered
HostMemoryNotRegistered
HardwareStackError
IllegalInstruction
MisalignedAddress
InvalidAddressSpace
InvalidProgramCounter
LaunchFailed
NotPermitted
NotSupported
Unknown
Trait Implementations§
Source§impl Clone for CudaErrorKind
impl Clone for CudaErrorKind
Source§fn clone(&self) -> CudaErrorKind
fn clone(&self) -> CudaErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CudaErrorKind
impl Debug for CudaErrorKind
Source§impl<'de> Deserialize<'de> for CudaErrorKind
impl<'de> Deserialize<'de> for CudaErrorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CudaErrorKind
impl Hash for CudaErrorKind
Source§impl Ord for CudaErrorKind
impl Ord for CudaErrorKind
Source§fn cmp(&self, other: &CudaErrorKind) -> Ordering
fn cmp(&self, other: &CudaErrorKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CudaErrorKind
impl PartialEq for CudaErrorKind
Source§impl PartialOrd for CudaErrorKind
impl PartialOrd for CudaErrorKind
Source§impl Serialize for CudaErrorKind
impl Serialize for CudaErrorKind
impl Copy for CudaErrorKind
impl Eq for CudaErrorKind
impl StructuralPartialEq for CudaErrorKind
Auto Trait Implementations§
impl Freeze for CudaErrorKind
impl RefUnwindSafe for CudaErrorKind
impl Send for CudaErrorKind
impl Sync for CudaErrorKind
impl Unpin for CudaErrorKind
impl UnwindSafe for CudaErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more