#[repr(C)]pub struct cudaLaunchAttributeValue__bindgen_ty_1 {
pub x: c_uint,
pub y: c_uint,
pub z: c_uint,
}Expand description
Value of launch attribute cudaLaunchAttributeID::cudaLaunchAttributeClusterDimension that represents the desired cluster dimensions for the kernel. Opaque type with the following fields:
x- The X dimension of the cluster, in blocks. Must be a divisor of the grid X dimension.y- The Y dimension of the cluster, in blocks. Must be a divisor of the grid Y dimension.z- The Z dimension of the cluster, in blocks. Must be a divisor of the grid Z dimension.
Fields§
§x: c_uintThe X dimension of the cluster, in blocks. Must be a divisor of the grid X dimension.
y: c_uintThe Y dimension of the cluster, in blocks. Must be a divisor of the grid Y dimension.
z: c_uintThe Z dimension of the cluster, in blocks. Must be a divisor of the grid Z dimension.
Trait Implementations§
impl Copy for cudaLaunchAttributeValue__bindgen_ty_1
impl Eq for cudaLaunchAttributeValue__bindgen_ty_1
Source§impl Ord for cudaLaunchAttributeValue__bindgen_ty_1
impl Ord for cudaLaunchAttributeValue__bindgen_ty_1
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for cudaLaunchAttributeValue__bindgen_ty_1
impl PartialOrd for cudaLaunchAttributeValue__bindgen_ty_1
impl StructuralPartialEq for cudaLaunchAttributeValue__bindgen_ty_1
Auto Trait Implementations§
impl Forget for cudaLaunchAttributeValue__bindgen_ty_1
impl Freeze for cudaLaunchAttributeValue__bindgen_ty_1
impl Move for cudaLaunchAttributeValue__bindgen_ty_1
impl RefUnwindSafe for cudaLaunchAttributeValue__bindgen_ty_1
impl Send for cudaLaunchAttributeValue__bindgen_ty_1
impl Sync for cudaLaunchAttributeValue__bindgen_ty_1
impl Unpin for cudaLaunchAttributeValue__bindgen_ty_1
impl UnsafeUnpin for cudaLaunchAttributeValue__bindgen_ty_1
impl UnwindSafe for cudaLaunchAttributeValue__bindgen_ty_1
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