Enum nvbit_model::CudaErrorKind
source · 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 copy 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 PartialEq<CudaErrorKind> for CudaErrorKind
impl PartialEq<CudaErrorKind> for CudaErrorKind
source§fn eq(&self, other: &CudaErrorKind) -> bool
fn eq(&self, other: &CudaErrorKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CudaErrorKind
impl Serialize for CudaErrorKind
impl Copy for CudaErrorKind
impl Eq for CudaErrorKind
impl StructuralEq for CudaErrorKind
impl StructuralPartialEq for CudaErrorKind
Auto Trait Implementations§
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