#[repr(u32)]pub enum Status {
Show 102 variants
Success = 0,
InvalidValue = 1,
OutOfMemory = 2,
NotInitialized = 3,
Deinitialized = 4,
ProfilerDisabled = 5,
ProfilerNotInitialized = 6,
ProfilerAlreadyStarted = 7,
ProfilerAlreadyStopped = 8,
StubLibrary = 34,
CallRequiresNewerDriver = 36,
DeviceUnavailable = 46,
NoDevice = 100,
InvalidDevice = 101,
DeviceNotLicensed = 102,
InvalidImage = 200,
InvalidContext = 201,
ContextAlreadyCurrent = 202,
MapFailed = 205,
UnmapFailed = 206,
ArrayIsMapped = 207,
AlreadyMapped = 208,
NoBinaryForGpu = 209,
AlreadyAcquired = 210,
NotMapped = 211,
NotMappedAsArray = 212,
NotMappedAsPointer = 213,
EccUncorrectable = 214,
UnsupportedLimit = 215,
ContextAlreadyInUse = 216,
PeerAccessUnsupported = 217,
InvalidPtx = 218,
InvalidGraphicsContext = 219,
NvlinkUncorrectable = 220,
JitCompilerNotFound = 221,
UnsupportedPtxVersion = 222,
JitCompilationDisabled = 223,
UnsupportedExecAffinity = 224,
UnsupportedDevsideSync = 225,
Contained = 226,
InvalidSource = 300,
FileNotFound = 301,
SharedObjectSymbolNotFound = 302,
SharedObjectInitFailed = 303,
OperatingSystem = 304,
InvalidHandle = 400,
IllegalState = 401,
LossyQuery = 402,
NotFound = 500,
NotReady = 600,
IllegalAddress = 700,
LaunchOutOfResources = 701,
LaunchTimeout = 702,
LaunchIncompatibleTexturing = 703,
PeerAccessAlreadyEnabled = 704,
PeerAccessNotEnabled = 705,
PrimaryContextActive = 708,
ContextIsDestroyed = 709,
Assert = 710,
TooManyPeers = 711,
HostMemoryAlreadyRegistered = 712,
HostMemoryNotRegistered = 713,
HardwareStackError = 714,
IllegalInstruction = 715,
MisalignedAddress = 716,
InvalidAddressSpace = 717,
InvalidPc = 718,
LaunchFailed = 719,
CooperativeLaunchTooLarge = 720,
TensorMemoryLeak = 721,
NotPermitted = 800,
NotSupported = 801,
SystemNotReady = 802,
SystemDriverMismatch = 803,
CompatNotSupportedOnDevice = 804,
MpsConnectionFailed = 805,
MpsRpcFailure = 806,
MpsServerNotReady = 807,
MpsMaxClientsReached = 808,
MpsMaxConnectionsReached = 809,
MpsClientTerminated = 810,
CdpNotSupported = 811,
CdpVersionMismatch = 812,
StreamCaptureUnsupported = 900,
StreamCaptureInvalidated = 901,
StreamCaptureMerge = 902,
StreamCaptureUnmatched = 903,
StreamCaptureUnjoined = 904,
StreamCaptureIsolation = 905,
StreamCaptureImplicit = 906,
CapturedEvent = 907,
StreamCaptureWrongThread = 908,
Timeout = 909,
GraphExecUpdateFailure = 910,
ExternalDevice = 911,
InvalidClusterSize = 912,
FunctionNotLoaded = 913,
InvalidResourceType = 914,
InvalidResourceConfiguration = 915,
KeyRotation = 916,
StreamDetached = 917,
Unknown = 999,
}Variants§
Success = 0
InvalidValue = 1
OutOfMemory = 2
NotInitialized = 3
Deinitialized = 4
ProfilerDisabled = 5
ProfilerNotInitialized = 6
👎Deprecated
ProfilerAlreadyStarted = 7
👎Deprecated
ProfilerAlreadyStopped = 8
👎Deprecated
StubLibrary = 34
CallRequiresNewerDriver = 36
NoDevice = 100
InvalidDevice = 101
DeviceNotLicensed = 102
InvalidImage = 200
InvalidContext = 201
ContextAlreadyCurrent = 202
👎Deprecated
MapFailed = 205
UnmapFailed = 206
ArrayIsMapped = 207
AlreadyMapped = 208
NoBinaryForGpu = 209
AlreadyAcquired = 210
NotMapped = 211
NotMappedAsArray = 212
NotMappedAsPointer = 213
EccUncorrectable = 214
UnsupportedLimit = 215
ContextAlreadyInUse = 216
PeerAccessUnsupported = 217
InvalidPtx = 218
InvalidGraphicsContext = 219
NvlinkUncorrectable = 220
JitCompilerNotFound = 221
UnsupportedPtxVersion = 222
JitCompilationDisabled = 223
UnsupportedExecAffinity = 224
UnsupportedDevsideSync = 225
Contained = 226
InvalidSource = 300
FileNotFound = 301
OperatingSystem = 304
InvalidHandle = 400
IllegalState = 401
LossyQuery = 402
NotFound = 500
NotReady = 600
IllegalAddress = 700
LaunchOutOfResources = 701
LaunchTimeout = 702
LaunchIncompatibleTexturing = 703
PeerAccessAlreadyEnabled = 704
PeerAccessNotEnabled = 705
PrimaryContextActive = 708
ContextIsDestroyed = 709
Assert = 710
TooManyPeers = 711
HostMemoryAlreadyRegistered = 712
HostMemoryNotRegistered = 713
HardwareStackError = 714
IllegalInstruction = 715
MisalignedAddress = 716
InvalidAddressSpace = 717
InvalidPc = 718
LaunchFailed = 719
CooperativeLaunchTooLarge = 720
TensorMemoryLeak = 721
NotPermitted = 800
NotSupported = 801
SystemNotReady = 802
SystemDriverMismatch = 803
CompatNotSupportedOnDevice = 804
MpsConnectionFailed = 805
MpsRpcFailure = 806
MpsServerNotReady = 807
MpsMaxClientsReached = 808
MpsMaxConnectionsReached = 809
MpsClientTerminated = 810
CdpNotSupported = 811
CdpVersionMismatch = 812
StreamCaptureUnsupported = 900
StreamCaptureInvalidated = 901
StreamCaptureMerge = 902
StreamCaptureUnmatched = 903
StreamCaptureUnjoined = 904
StreamCaptureIsolation = 905
StreamCaptureImplicit = 906
CapturedEvent = 907
StreamCaptureWrongThread = 908
Timeout = 909
GraphExecUpdateFailure = 910
ExternalDevice = 911
InvalidClusterSize = 912
FunctionNotLoaded = 913
InvalidResourceType = 914
InvalidResourceConfiguration = 915
KeyRotation = 916
StreamDetached = 917
Unknown = 999
Implementations§
Trait Implementations§
Source§impl From<Status> for cudaError_t
impl From<Status> for cudaError_t
Source§impl From<cudaError_enum> for Status
impl From<cudaError_enum> for Status
Source§fn from(value: cudaError_t) -> Self
fn from(value: cudaError_t) -> Self
Converts to this type from the input type.
Source§impl TryFromPrimitive for Status
impl TryFromPrimitive for Status
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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