pub enum CudaKernelCapabilityFailure {
SmVersion {
required_major: u16,
required_minor: u16,
actual_major: u16,
actual_minor: u16,
},
ThreadsPerBlock {
requested: u32,
maximum: u32,
},
SharedMemory {
requested: u64,
maximum: u64,
},
CooperativeLaunch,
TensorCores,
}Expand description
Capability failure reason for one CUDA launch.
Variants§
SmVersion
Device SM version is below the kernel requirement.
Fields
ThreadsPerBlock
Requested block size exceeds the device limit.
Requested shared memory exceeds the device limit.
CooperativeLaunch
Cooperative launch is required but unsupported.
TensorCores
Tensor cores are required but unsupported.
Trait Implementations§
Source§impl Clone for CudaKernelCapabilityFailure
impl Clone for CudaKernelCapabilityFailure
Source§fn clone(&self) -> CudaKernelCapabilityFailure
fn clone(&self) -> CudaKernelCapabilityFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CudaKernelCapabilityFailure
impl Debug for CudaKernelCapabilityFailure
Source§impl PartialEq for CudaKernelCapabilityFailure
impl PartialEq for CudaKernelCapabilityFailure
Source§fn eq(&self, other: &CudaKernelCapabilityFailure) -> bool
fn eq(&self, other: &CudaKernelCapabilityFailure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CudaKernelCapabilityFailure
impl StructuralPartialEq for CudaKernelCapabilityFailure
Auto Trait Implementations§
impl Freeze for CudaKernelCapabilityFailure
impl RefUnwindSafe for CudaKernelCapabilityFailure
impl Send for CudaKernelCapabilityFailure
impl Sync for CudaKernelCapabilityFailure
impl Unpin for CudaKernelCapabilityFailure
impl UnsafeUnpin for CudaKernelCapabilityFailure
impl UnwindSafe for CudaKernelCapabilityFailure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.