pub struct CudaLaunchConfig {
pub grid: [u32; 3],
pub block: [u32; 3],
pub cluster: [u32; 3],
}Expand description
A kernel launch’s grid/block/cluster dimensions (in (x, y, z) order).
Fields§
§grid: [u32; 3]Grid dimensions (number of blocks per dimension).
block: [u32; 3]Block dimensions (number of threads per block, per dimension).
cluster: [u32; 3]Thread-block-cluster dimensions.
Trait Implementations§
impl LaunchConfig for CudaLaunchConfig
Auto Trait Implementations§
impl Freeze for CudaLaunchConfig
impl RefUnwindSafe for CudaLaunchConfig
impl Send for CudaLaunchConfig
impl Sync for CudaLaunchConfig
impl Unpin for CudaLaunchConfig
impl UnsafeUnpin for CudaLaunchConfig
impl UnwindSafe for CudaLaunchConfig
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