#[repr(C)]pub struct cudaLaunchAttributeValue__bindgen_ty_3 {
pub x: c_uint,
pub y: c_uint,
pub z: c_uint,
}Expand description
Value of launch attribute cudaLaunchAttributeID::cudaLaunchAttributePreferredClusterDimension that represents the desired preferred cluster dimensions for the kernel. Opaque type with the following fields:
x- The X dimension of the preferred cluster, in blocks. Must be a divisor of the grid X dimension, and must be a multiple of thexfield ofcudaLaunchAttributeValue::clusterDim(cudaLaunchAttributeValue::clusterDim).y- The Y dimension of the preferred cluster, in blocks. Must be a divisor of the grid Y dimension, and must be a multiple of theyfield ofcudaLaunchAttributeValue::clusterDim(cudaLaunchAttributeValue::clusterDim).z- The Z dimension of the preferred cluster, in blocks. Must be equal to thezfield ofcudaLaunchAttributeValue::clusterDim(cudaLaunchAttributeValue::clusterDim).
Fields§
§x: c_uintThe X dimension of the preferred cluster, in blocks. Must be a divisor of the grid X dimension, and must be a multiple of the x field of cudaLaunchAttributeValue::clusterDim(cudaLaunchAttributeValue::clusterDim).
y: c_uintThe Y dimension of the preferred cluster, in blocks. Must be a divisor of the grid Y dimension, and must be a multiple of the y field of cudaLaunchAttributeValue::clusterDim(cudaLaunchAttributeValue::clusterDim).
z: c_uintThe Z dimension of the preferred cluster, in blocks. Must be equal to the z field of cudaLaunchAttributeValue::clusterDim(cudaLaunchAttributeValue::clusterDim).