pub struct CudaKernelDeviceEnvelope {
pub sm_major: u16,
pub sm_minor: u16,
pub max_threads_per_block: u32,
pub shared_memory_per_block_bytes: u64,
pub supports_cooperative_launch: bool,
pub supports_tensor_cores: bool,
}Expand description
Device capabilities relevant to launch eligibility.
Fields§
§sm_major: u16CUDA SM major version.
sm_minor: u16CUDA SM minor version.
max_threads_per_block: u32Maximum threads per block.
Available shared memory per block.
supports_cooperative_launch: boolWhether cooperative grid launch is supported.
supports_tensor_cores: boolWhether tensor-core lowering is supported.
Trait Implementations§
Source§impl Clone for CudaKernelDeviceEnvelope
impl Clone for CudaKernelDeviceEnvelope
Source§fn clone(&self) -> CudaKernelDeviceEnvelope
fn clone(&self) -> CudaKernelDeviceEnvelope
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 CudaKernelDeviceEnvelope
impl Debug for CudaKernelDeviceEnvelope
Source§impl PartialEq for CudaKernelDeviceEnvelope
impl PartialEq for CudaKernelDeviceEnvelope
Source§fn eq(&self, other: &CudaKernelDeviceEnvelope) -> bool
fn eq(&self, other: &CudaKernelDeviceEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CudaKernelDeviceEnvelope
impl Eq for CudaKernelDeviceEnvelope
impl StructuralPartialEq for CudaKernelDeviceEnvelope
Auto Trait Implementations§
impl Freeze for CudaKernelDeviceEnvelope
impl RefUnwindSafe for CudaKernelDeviceEnvelope
impl Send for CudaKernelDeviceEnvelope
impl Sync for CudaKernelDeviceEnvelope
impl Unpin for CudaKernelDeviceEnvelope
impl UnsafeUnpin for CudaKernelDeviceEnvelope
impl UnwindSafe for CudaKernelDeviceEnvelope
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.