Skip to main content

thread_idx_y

Function thread_idx_y 

Source
pub fn thread_idx_y() -> i32
Expand description

Get the thread index within a block/workgroup (y dimension).

  • CUDA: threadIdx.y
  • WGSL: local_invocation_id.y