Skip to main content

Status

Enum Status 

Source
#[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

§

DeviceUnavailable = 46

§

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

§

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

Implementations§

Trait Implementations§

Source§

impl Clone for Status

Source§

fn clone(&self) -> Status

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Status

Source§

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

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

impl Display for Status

Source§

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

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

impl From<Status> for Error

Source§

fn from(code: Status) -> Self

Converts to this type from the input type.
Source§

impl From<Status> for cudaError_t

Source§

fn from(value: Status) -> Self

Converts to this type from the input type.
Source§

impl From<Status> for u32

Source§

fn from(enum_value: Status) -> Self

Converts to this type from the input type.
Source§

impl From<cudaError_enum> for Status

Source§

fn from(value: cudaError_t) -> Self

Converts to this type from the input type.
Source§

impl Hash for Status

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 PartialEq for Status

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · 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 TryFrom<u32> for Status

Source§

type Error = TryFromPrimitiveError<Status>

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

fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for Status

Source§

impl Copy for Status

Source§

impl Eq for Status

Source§

impl StructuralPartialEq for Status

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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. 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.