pub struct CudaKernelLaunchShape {
pub grid: [u32; 3],
pub block: [u32; 3],
pub dynamic_shared_memory_bytes: u32,
pub cooperative: bool,
pub requires_tensor_cores: bool,
}Expand description
CUDA launch shape requested by a runtime or generated launcher.
Fields§
§grid: [u32; 3]Grid dimensions in CUDA blocks.
block: [u32; 3]Block dimensions in CUDA threads.
Dynamic shared-memory bytes requested at launch.
cooperative: boolWhether the launch uses the cooperative kernel ABI.
requires_tensor_cores: boolWhether the kernel requires tensor-core instructions.
Trait Implementations§
Source§impl Clone for CudaKernelLaunchShape
impl Clone for CudaKernelLaunchShape
Source§fn clone(&self) -> CudaKernelLaunchShape
fn clone(&self) -> CudaKernelLaunchShape
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 CudaKernelLaunchShape
impl Debug for CudaKernelLaunchShape
Source§impl PartialEq for CudaKernelLaunchShape
impl PartialEq for CudaKernelLaunchShape
Source§fn eq(&self, other: &CudaKernelLaunchShape) -> bool
fn eq(&self, other: &CudaKernelLaunchShape) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CudaKernelLaunchShape
impl Eq for CudaKernelLaunchShape
impl StructuralPartialEq for CudaKernelLaunchShape
Auto Trait Implementations§
impl Freeze for CudaKernelLaunchShape
impl RefUnwindSafe for CudaKernelLaunchShape
impl Send for CudaKernelLaunchShape
impl Sync for CudaKernelLaunchShape
impl Unpin for CudaKernelLaunchShape
impl UnsafeUnpin for CudaKernelLaunchShape
impl UnwindSafe for CudaKernelLaunchShape
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.