#[repr(u32)]pub enum cudaError_t {
Show 83 variants
Success = 0,
MissingConfiguration = 1,
MemoryAllocation = 2,
InitializationError = 3,
LaunchFailure = 4,
PriorLaunchFailure = 5,
LaunchTimeout = 6,
LaunchOutOfResources = 7,
InvalidDeviceFunction = 8,
InvalidConfiguration = 9,
InvalidDevice = 10,
InvalidValue = 11,
InvalidPitchValue = 12,
InvalidSymbol = 13,
MapBufferObjectFailed = 14,
UnmapBufferObjectFailed = 15,
InvalidHostPointer = 16,
InvalidDevicePointer = 17,
InvalidTexture = 18,
InvalidTextureBinding = 19,
InvalidChannelDescriptor = 20,
InvalidMemcpyDirection = 21,
AddressOfConstant = 22,
TextureFetchFailed = 23,
TextureNotBound = 24,
SynchronizationError = 25,
InvalidFilterSetting = 26,
InvalidNormSetting = 27,
MixedDeviceExecution = 28,
CudartUnloading = 29,
Unknown = 30,
NotYetImplemented = 31,
MemoryValueTooLarge = 32,
InvalidResourceHandle = 33,
NotReady = 34,
InsufficientDriver = 35,
SetOnActiveProcess = 36,
InvalidSurface = 37,
NoDevice = 38,
ECCUncorrectable = 39,
SharedObjectSymbolNotFound = 40,
SharedObjectInitFailed = 41,
UnsupportedLimit = 42,
DuplicateVariableName = 43,
DuplicateTextureName = 44,
DuplicateSurfaceName = 45,
DevicesUnavailable = 46,
InvalidKernelImage = 47,
NoKernelImageForDevice = 48,
IncompatibleDriverContext = 49,
PeerAccessAlreadyEnabled = 50,
PeerAccessNotEnabled = 51,
DeviceAlreadyInUse = 54,
ProfilerDisabled = 55,
ProfilerNotInitialized = 56,
ProfilerAlreadyStarted = 57,
ProfilerAlreadyStopped = 58,
Assert = 59,
TooManyPeers = 60,
HostMemoryAlreadyRegistered = 61,
HostMemoryNotRegistered = 62,
OperatingSystem = 63,
PeerAccessUnsupported = 64,
LaunchMaxDepthExceeded = 65,
LaunchFileScopedTex = 66,
LaunchFileScopedSurf = 67,
SyncDepthExceeded = 68,
LaunchPendingCountExceeded = 69,
NotPermitted = 70,
NotSupported = 71,
HardwareStackError = 72,
IllegalInstruction = 73,
MisalignedAddress = 74,
InvalidAddressSpace = 75,
InvalidPc = 76,
IllegalAddress = 77,
InvalidPtx = 78,
InvalidGraphicsContext = 79,
NvlinkUncorrectable = 80,
JitCompilerNotFound = 81,
CooperativeLaunchTooLarge = 82,
StartupFailure = 127,
ApiFailureBase = 10_000,
}Variants§
Success = 0
MissingConfiguration = 1
MemoryAllocation = 2
InitializationError = 3
LaunchFailure = 4
PriorLaunchFailure = 5
LaunchTimeout = 6
LaunchOutOfResources = 7
InvalidDeviceFunction = 8
InvalidConfiguration = 9
InvalidDevice = 10
InvalidValue = 11
InvalidPitchValue = 12
InvalidSymbol = 13
MapBufferObjectFailed = 14
UnmapBufferObjectFailed = 15
InvalidHostPointer = 16
InvalidDevicePointer = 17
InvalidTexture = 18
InvalidTextureBinding = 19
InvalidChannelDescriptor = 20
InvalidMemcpyDirection = 21
AddressOfConstant = 22
TextureFetchFailed = 23
TextureNotBound = 24
SynchronizationError = 25
InvalidFilterSetting = 26
InvalidNormSetting = 27
MixedDeviceExecution = 28
CudartUnloading = 29
Unknown = 30
NotYetImplemented = 31
MemoryValueTooLarge = 32
InvalidResourceHandle = 33
NotReady = 34
InsufficientDriver = 35
SetOnActiveProcess = 36
InvalidSurface = 37
NoDevice = 38
ECCUncorrectable = 39
UnsupportedLimit = 42
DuplicateVariableName = 43
DuplicateTextureName = 44
DuplicateSurfaceName = 45
InvalidKernelImage = 47
NoKernelImageForDevice = 48
IncompatibleDriverContext = 49
PeerAccessAlreadyEnabled = 50
PeerAccessNotEnabled = 51
DeviceAlreadyInUse = 54
ProfilerDisabled = 55
ProfilerNotInitialized = 56
ProfilerAlreadyStarted = 57
ProfilerAlreadyStopped = 58
Assert = 59
TooManyPeers = 60
HostMemoryAlreadyRegistered = 61
HostMemoryNotRegistered = 62
OperatingSystem = 63
PeerAccessUnsupported = 64
LaunchMaxDepthExceeded = 65
LaunchFileScopedTex = 66
LaunchFileScopedSurf = 67
SyncDepthExceeded = 68
LaunchPendingCountExceeded = 69
NotPermitted = 70
NotSupported = 71
HardwareStackError = 72
IllegalInstruction = 73
MisalignedAddress = 74
InvalidAddressSpace = 75
InvalidPc = 76
IllegalAddress = 77
InvalidPtx = 78
InvalidGraphicsContext = 79
NvlinkUncorrectable = 80
JitCompilerNotFound = 81
CooperativeLaunchTooLarge = 82
StartupFailure = 127
ApiFailureBase = 10_000
Trait Implementations§
Source§impl Clone for cudaError_t
impl Clone for cudaError_t
Source§fn clone(&self) -> cudaError_t
fn clone(&self) -> cudaError_t
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 cudaError_t
impl Debug for cudaError_t
Source§impl Hash for cudaError_t
impl Hash for cudaError_t
Source§impl PartialEq for cudaError_t
impl PartialEq for cudaError_t
impl Copy for cudaError_t
impl Eq for cudaError_t
impl StructuralPartialEq for cudaError_t
Auto Trait Implementations§
impl Freeze for cudaError_t
impl RefUnwindSafe for cudaError_t
impl Send for cudaError_t
impl Sync for cudaError_t
impl Unpin for cudaError_t
impl UnwindSafe for cudaError_t
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