Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rust-GPU/rust-cuda
/ thread_idx_x
Function
thread_idx_x
crates/cuda_std/src/thread.rs:82–84 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
80
#[gpu_only]
81
#[inline(always)]
82
pub fn thread_idx_x() -> u32 {
83
inbounds!(__nvvm_thread_idx_x, 1024)
84
}
85
86
#[gpu_only]
87
#[inline(always)]
Callers
3
index_1d
Function · 0.85
index_2d
Function · 0.85
index_3d
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected