Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rust-GPU/rust-cuda
/ pointer_size
Function
pointer_size
crates/rustc_codegen_nvvm/src/target.rs:46–52 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
44
}
45
46
pub fn pointer_size() -> usize {
47
if TARGET_32_BIT.load(Ordering::SeqCst) {
48
32
49
} else {
50
64
51
}
52
}
53
54
pub fn target() -> Target {
55
Target {
Callers
4
const_usize
Method · 0.85
int_type_width_signed
Function · 0.85
target
Function · 0.85
new
Method · 0.85
Calls
1
load
Method · 0.80
Tested by
no test coverage detected