MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / xy

Method xy

crates/cust/src/function.rs:33–35  ·  view source on GitHub ↗
(x: u32, y: u32)

Source from the content-addressed store, hash-verified

31 /// Create a two-dimensional grid of `x * y` blocks
32 #[inline]
33 pub fn xy(x: u32, y: u32) -> GridSize {
34 GridSize { x, y, z: 1 }
35 }
36
37 /// Create a three-dimensional grid of `x * y * z` blocks
38 #[inline]

Callers 1

__raygen__renderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected