MCPcopy Create free account
hub / github.com/KnowingNothing/MatmulTutorial / to_CUtensorMapSwizzle

Function to_CUtensorMapSwizzle

include/tma.h:142–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142inline CUtensorMapSwizzle
143to_CUtensorMapSwizzle(SmemSwizzleBits const& t) {
144 switch (t) {
145 default: assert(false && "Unknown SmemSwizzleBits!");
146 case SmemSwizzleBits::DISABLE: return CU_TENSOR_MAP_SWIZZLE_NONE;
147 case SmemSwizzleBits::B32: return CU_TENSOR_MAP_SWIZZLE_32B;
148 case SmemSwizzleBits::B64: return CU_TENSOR_MAP_SWIZZLE_64B;
149 case SmemSwizzleBits::B128: return CU_TENSOR_MAP_SWIZZLE_128B;
150 }
151}
152
153template <int BlockMajorSize, int BlockMinorSize, int TmaDim, typename DType, int B, int M, int S>
154TmaDescriptor make_tma_copy_desc(

Callers 1

make_tma_copy_descFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected