diff --git a/tests/unit/test_tma_driver.cu b/tests/unit/test_tma_driver.cu index 5f49dca3..3a48a7a1 100644 --- a/tests/unit/test_tma_driver.cu +++ b/tests/unit/test_tma_driver.cu @@ -83,8 +83,10 @@ int main() { cudaMemcpy(d_src, h_src, DATA_BYTES, cudaMemcpyHostToDevice); // Create CUtensorMap + // globalDim: sizes in ELEMENTS (x=cols, y=rows) + // globalStrides: strides in BYTES uint64_t gdim[] = {(uint64_t)COLS, (uint64_t)ROWS}; - uint64_t gstr[] = {1, (uint64_t)COLS}; + uint64_t gstr[] = {2, (uint64_t)COLS * 2}; // BF16=2 bytes/element, row stride = COLS*2 uint32_t tdim[] = {TILE_COLS, TILE_ROWS}; uint32_t tstr[] = {1, TILE_COLS};