Struct rustacuda::function::GridSize [−][src]
Expand description
Dimensions of a grid, or the number of thread blocks in a kernel launch.
Each component of a GridSize
must be at least 1. The maximum size depends on your device’s
compute capability, but maximums of x = (2^31)-1, y = 65535, z = 65535
are common. Launching
a kernel with a grid size greater than these limits will cause an error.
Fields
x: u32
Width of grid in blocks
y: u32
Height of grid in blocks
z: u32
Depth of grid in blocks
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GridSize
impl UnwindSafe for GridSize
Blanket Implementations
Mutably borrows from an owned value. Read more