MCPcopy Create free account
hub / github.com/NVIDIA/cutlass / raw_pointer_cast

Function raw_pointer_cast

include/cute/pointer.hpp:345–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343
344template <class T>
345CUTE_HOST_DEVICE constexpr
346uint32_t
347raw_pointer_cast(tmem_ptr<T> const& ptr) {
348 return ptr.get();
349}
350
351// TMEM accounts for subword/superword elements already due to the offset shift based on sizeof_bits
352// Thus, this is a trivial recast equivalent to reinterpret_cast<NewT*>

Callers 15

fprop_referenceMethod · 0.50
dgrad_referenceMethod · 0.50
wgrad_referenceMethod · 0.50
gett_epilogueFunction · 0.50
test_cooperative_gemmFunction · 0.50
test_tma_loadFunction · 0.50
test_tma_storeFunction · 0.50
test_tma_loadFunction · 0.50
test_tiled_cp_asyncFunction · 0.50
reduceMethod · 0.50

Calls 1

getMethod · 0.45

Tested by 10

test_cooperative_gemmFunction · 0.40
test_tma_loadFunction · 0.40
test_tma_storeFunction · 0.40
test_tma_loadFunction · 0.40
test_tiled_cp_asyncFunction · 0.40
reduceMethod · 0.40
reduceMethod · 0.40
storeMethod · 0.40
storeMethod · 0.40