Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KnowingNothing/MatmulTutorial
/ cast_smem_ptr_to_uint
Function
cast_smem_ptr_to_uint
include/common.h:399–401 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
397
}
398
399
DEVICE uint32_t cast_smem_ptr_to_uint(void const* const ptr) {
400
return static_cast<uint32_t>(__cvta_generic_to_shared(ptr));
401
}
402
403
DEVICE uint32_t elect_one_sync() {
404
uint32_t pred = 0;
Callers
13
copy
Method · 0.85
copy
Method · 0.85
copy
Method · 0.85
copy
Method · 0.85
init
Method · 0.85
wait
Method · 0.85
test_wait
Method · 0.85
try_wait
Method · 0.85
arrive
Method · 0.85
invalidate
Method · 0.85
arrive_and_expect_tx
Method · 0.85
expect_transaction
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_wait
Method · 0.68