Skip to content
fn

metal_launch_1d

MetalLaunch1D metal_launch_1d(int n, int max_tg, int max_grid_x)

Build a (grid, threadgroup) pair covering n elements without narrowing n to 32 bits.