#[repr(C)]pub struct CuLaunchAttributeClusterDim {
pub x: u32,
pub y: u32,
pub z: u32,
}Expand description
Cluster dimension for thread block clusters (sm_90+).
Specifies how many thread blocks form one cluster in each dimension.
Used inside CuLaunchAttributeValue when the attribute id is
CuLaunchAttributeId::ClusterDimension.
Fields§
§x: u32Cluster extent in X dimension.
y: u32Cluster extent in Y dimension.
z: u32Cluster extent in Z dimension.
Trait Implementations§
Source§impl Clone for CuLaunchAttributeClusterDim
impl Clone for CuLaunchAttributeClusterDim
Source§fn clone(&self) -> CuLaunchAttributeClusterDim
fn clone(&self) -> CuLaunchAttributeClusterDim
Returns a duplicate of the value. Read more
1.0.0 · 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 CuLaunchAttributeClusterDim
impl Debug for CuLaunchAttributeClusterDim
Source§impl Hash for CuLaunchAttributeClusterDim
impl Hash for CuLaunchAttributeClusterDim
impl Copy for CuLaunchAttributeClusterDim
impl Eq for CuLaunchAttributeClusterDim
impl StructuralPartialEq for CuLaunchAttributeClusterDim
Auto Trait Implementations§
impl Freeze for CuLaunchAttributeClusterDim
impl RefUnwindSafe for CuLaunchAttributeClusterDim
impl Send for CuLaunchAttributeClusterDim
impl Sync for CuLaunchAttributeClusterDim
impl Unpin for CuLaunchAttributeClusterDim
impl UnsafeUnpin for CuLaunchAttributeClusterDim
impl UnwindSafe for CuLaunchAttributeClusterDim
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