Comment Addressed

This commit is contained in:
ThomasNing
2025-07-06 17:01:11 +00:00
parent 50d2e36380
commit 32b68ff886
6 changed files with 68 additions and 62 deletions

View File

@@ -159,7 +159,16 @@ struct TileCopy
if(my_id == warp_id)
{
if constexpr(AsyncCopy == false)
if constexpr(AsyncCopy)
{
async_load_tile(x_block_lds_window_no_dist, x_block_window);
load_tile(dram_tile, x_block_lds_window);
// store from registers to DRAM
store_tile(y_block_window, dram_tile);
}
else
{
// load from DRAM to registers
load_tile(dram_tile, x_block_window);
@@ -170,15 +179,6 @@ struct TileCopy
// read from lds to registers
load_tile(dram_tile, x_block_lds_window);
// store from registers to DRAM
store_tile(y_block_window, dram_tile);
}
else
{
async_load_tile(x_block_lds_window_no_dist, x_block_window);
load_tile(dram_tile, x_block_lds_window);
// store from registers to DRAM
store_tile(y_block_window, dram_tile);
}