pub(crate) enum GpuCapability {
Float64,
Int64,
Atomic64,
CooperativeGroups,
Subgroups,
SharedMemory,
DynamicParallelism,
Float16,
}Expand description
GPU capability flags that can be required by a kernel (internal use only).
Variants§
Float64
64-bit floating point support.
Int64
64-bit integer support.
Atomic64
64-bit atomics support.
CooperativeGroups
Cooperative groups / grid-wide sync.
Subgroups
Subgroup / warp / SIMD operations.
Shared memory / threadgroup memory.
DynamicParallelism
Dynamic parallelism (launching kernels from kernels).
Float16
Half-precision (f16) support.
Implementations§
Source§impl GpuCapability
impl GpuCapability
Trait Implementations§
Source§impl Clone for GpuCapability
impl Clone for GpuCapability
Source§fn clone(&self) -> GpuCapability
fn clone(&self) -> GpuCapability
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 moreimpl Copy for GpuCapability
Source§impl Debug for GpuCapability
impl Debug for GpuCapability
impl Eq for GpuCapability
Source§impl PartialEq for GpuCapability
impl PartialEq for GpuCapability
Source§fn eq(&self, other: &GpuCapability) -> bool
fn eq(&self, other: &GpuCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GpuCapability
Auto Trait Implementations§
impl Freeze for GpuCapability
impl RefUnwindSafe for GpuCapability
impl Send for GpuCapability
impl Sync for GpuCapability
impl Unpin for GpuCapability
impl UnsafeUnpin for GpuCapability
impl UnwindSafe for GpuCapability
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