[][src]Enum cuda_runtime_sys::cudaError

#[repr(u32)]
pub enum cudaError {
    cudaSuccess,
    cudaErrorInvalidValue,
    cudaErrorMemoryAllocation,
    cudaErrorInitializationError,
    cudaErrorCudartUnloading,
    cudaErrorProfilerDisabled,
    cudaErrorProfilerNotInitialized,
    cudaErrorProfilerAlreadyStarted,
    cudaErrorProfilerAlreadyStopped,
    cudaErrorInvalidConfiguration,
    cudaErrorInvalidPitchValue,
    cudaErrorInvalidSymbol,
    cudaErrorInvalidHostPointer,
    cudaErrorInvalidDevicePointer,
    cudaErrorInvalidTexture,
    cudaErrorInvalidTextureBinding,
    cudaErrorInvalidChannelDescriptor,
    cudaErrorInvalidMemcpyDirection,
    cudaErrorAddressOfConstant,
    cudaErrorTextureFetchFailed,
    cudaErrorTextureNotBound,
    cudaErrorSynchronizationError,
    cudaErrorInvalidFilterSetting,
    cudaErrorInvalidNormSetting,
    cudaErrorMixedDeviceExecution,
    cudaErrorNotYetImplemented,
    cudaErrorMemoryValueTooLarge,
    cudaErrorInsufficientDriver,
    cudaErrorInvalidSurface,
    cudaErrorDuplicateVariableName,
    cudaErrorDuplicateTextureName,
    cudaErrorDuplicateSurfaceName,
    cudaErrorDevicesUnavailable,
    cudaErrorIncompatibleDriverContext,
    cudaErrorMissingConfiguration,
    cudaErrorPriorLaunchFailure,
    cudaErrorLaunchMaxDepthExceeded,
    cudaErrorLaunchFileScopedTex,
    cudaErrorLaunchFileScopedSurf,
    cudaErrorSyncDepthExceeded,
    cudaErrorLaunchPendingCountExceeded,
    cudaErrorInvalidDeviceFunction,
    cudaErrorNoDevice,
    cudaErrorInvalidDevice,
    cudaErrorStartupFailure,
    cudaErrorInvalidKernelImage,
    cudaErrorDeviceUninitialized,
    cudaErrorMapBufferObjectFailed,
    cudaErrorUnmapBufferObjectFailed,
    cudaErrorArrayIsMapped,
    cudaErrorAlreadyMapped,
    cudaErrorNoKernelImageForDevice,
    cudaErrorAlreadyAcquired,
    cudaErrorNotMapped,
    cudaErrorNotMappedAsArray,
    cudaErrorNotMappedAsPointer,
    cudaErrorECCUncorrectable,
    cudaErrorUnsupportedLimit,
    cudaErrorDeviceAlreadyInUse,
    cudaErrorPeerAccessUnsupported,
    cudaErrorInvalidPtx,
    cudaErrorInvalidGraphicsContext,
    cudaErrorNvlinkUncorrectable,
    cudaErrorJitCompilerNotFound,
    cudaErrorInvalidSource,
    cudaErrorFileNotFound,
    cudaErrorSharedObjectSymbolNotFound,
    cudaErrorSharedObjectInitFailed,
    cudaErrorOperatingSystem,
    cudaErrorInvalidResourceHandle,
    cudaErrorIllegalState,
    cudaErrorSymbolNotFound,
    cudaErrorNotReady,
    cudaErrorIllegalAddress,
    cudaErrorLaunchOutOfResources,
    cudaErrorLaunchTimeout,
    cudaErrorLaunchIncompatibleTexturing,
    cudaErrorPeerAccessAlreadyEnabled,
    cudaErrorPeerAccessNotEnabled,
    cudaErrorSetOnActiveProcess,
    cudaErrorContextIsDestroyed,
    cudaErrorAssert,
    cudaErrorTooManyPeers,
    cudaErrorHostMemoryAlreadyRegistered,
    cudaErrorHostMemoryNotRegistered,
    cudaErrorHardwareStackError,
    cudaErrorIllegalInstruction,
    cudaErrorMisalignedAddress,
    cudaErrorInvalidAddressSpace,
    cudaErrorInvalidPc,
    cudaErrorLaunchFailure,
    cudaErrorCooperativeLaunchTooLarge,
    cudaErrorNotPermitted,
    cudaErrorNotSupported,
    cudaErrorSystemNotReady,
    cudaErrorSystemDriverMismatch,
    cudaErrorCompatNotSupportedOnDevice,
    cudaErrorStreamCaptureUnsupported,
    cudaErrorStreamCaptureInvalidated,
    cudaErrorStreamCaptureMerge,
    cudaErrorStreamCaptureUnmatched,
    cudaErrorStreamCaptureUnjoined,
    cudaErrorStreamCaptureIsolation,
    cudaErrorStreamCaptureImplicit,
    cudaErrorCapturedEvent,
    cudaErrorStreamCaptureWrongThread,
    cudaErrorTimeout,
    cudaErrorGraphExecUpdateFailure,
    cudaErrorUnknown,
    cudaErrorApiFailureBase,
}

Variants

cudaSuccess
cudaErrorInvalidValue
cudaErrorMemoryAllocation
cudaErrorInitializationError
cudaErrorCudartUnloading
cudaErrorProfilerDisabled
cudaErrorProfilerNotInitialized
cudaErrorProfilerAlreadyStarted
cudaErrorProfilerAlreadyStopped
cudaErrorInvalidConfiguration
cudaErrorInvalidPitchValue
cudaErrorInvalidSymbol
cudaErrorInvalidHostPointer
cudaErrorInvalidDevicePointer
cudaErrorInvalidTexture
cudaErrorInvalidTextureBinding
cudaErrorInvalidChannelDescriptor
cudaErrorInvalidMemcpyDirection
cudaErrorAddressOfConstant
cudaErrorTextureFetchFailed
cudaErrorTextureNotBound
cudaErrorSynchronizationError
cudaErrorInvalidFilterSetting
cudaErrorInvalidNormSetting
cudaErrorMixedDeviceExecution
cudaErrorNotYetImplemented
cudaErrorMemoryValueTooLarge
cudaErrorInsufficientDriver
cudaErrorInvalidSurface
cudaErrorDuplicateVariableName
cudaErrorDuplicateTextureName
cudaErrorDuplicateSurfaceName
cudaErrorDevicesUnavailable
cudaErrorIncompatibleDriverContext
cudaErrorMissingConfiguration
cudaErrorPriorLaunchFailure
cudaErrorLaunchMaxDepthExceeded
cudaErrorLaunchFileScopedTex
cudaErrorLaunchFileScopedSurf
cudaErrorSyncDepthExceeded
cudaErrorLaunchPendingCountExceeded
cudaErrorInvalidDeviceFunction
cudaErrorNoDevice
cudaErrorInvalidDevice
cudaErrorStartupFailure
cudaErrorInvalidKernelImage
cudaErrorDeviceUninitialized
cudaErrorMapBufferObjectFailed
cudaErrorUnmapBufferObjectFailed
cudaErrorArrayIsMapped
cudaErrorAlreadyMapped
cudaErrorNoKernelImageForDevice
cudaErrorAlreadyAcquired
cudaErrorNotMapped
cudaErrorNotMappedAsArray
cudaErrorNotMappedAsPointer
cudaErrorECCUncorrectable
cudaErrorUnsupportedLimit
cudaErrorDeviceAlreadyInUse
cudaErrorPeerAccessUnsupported
cudaErrorInvalidPtx
cudaErrorInvalidGraphicsContext
cudaErrorNvlinkUncorrectable
cudaErrorJitCompilerNotFound
cudaErrorInvalidSource
cudaErrorFileNotFound
cudaErrorSharedObjectSymbolNotFound
cudaErrorSharedObjectInitFailed
cudaErrorOperatingSystem
cudaErrorInvalidResourceHandle
cudaErrorIllegalState
cudaErrorSymbolNotFound
cudaErrorNotReady
cudaErrorIllegalAddress
cudaErrorLaunchOutOfResources
cudaErrorLaunchTimeout
cudaErrorLaunchIncompatibleTexturing
cudaErrorPeerAccessAlreadyEnabled
cudaErrorPeerAccessNotEnabled
cudaErrorSetOnActiveProcess
cudaErrorContextIsDestroyed
cudaErrorAssert
cudaErrorTooManyPeers
cudaErrorHostMemoryAlreadyRegistered
cudaErrorHostMemoryNotRegistered
cudaErrorHardwareStackError
cudaErrorIllegalInstruction
cudaErrorMisalignedAddress
cudaErrorInvalidAddressSpace
cudaErrorInvalidPc
cudaErrorLaunchFailure
cudaErrorCooperativeLaunchTooLarge
cudaErrorNotPermitted
cudaErrorNotSupported
cudaErrorSystemNotReady
cudaErrorSystemDriverMismatch
cudaErrorCompatNotSupportedOnDevice
cudaErrorStreamCaptureUnsupported
cudaErrorStreamCaptureInvalidated
cudaErrorStreamCaptureMerge
cudaErrorStreamCaptureUnmatched
cudaErrorStreamCaptureUnjoined
cudaErrorStreamCaptureIsolation
cudaErrorStreamCaptureImplicit
cudaErrorCapturedEvent
cudaErrorStreamCaptureWrongThread
cudaErrorTimeout
cudaErrorGraphExecUpdateFailure
cudaErrorUnknown
cudaErrorApiFailureBase

Trait Implementations

impl Clone for cudaError[src]

impl Copy for cudaError[src]

impl Debug for cudaError[src]

impl Eq for cudaError[src]

impl Hash for cudaError[src]

impl Ord for cudaError[src]

impl PartialEq<cudaError> for cudaError[src]

impl PartialOrd<cudaError> for cudaError[src]

impl StructuralEq for cudaError[src]

impl StructuralPartialEq for cudaError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.