Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zasdfgbnm committed Jan 29, 2025
1 parent 6cf172c commit 4e5ab6e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion csrc/device_lower/pass/allocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,11 @@ std::vector<Expr*> insertTMemRegionAllocsAndDeallocs(

// the tcgen05.alloc instructions
auto alloc_expr = IrBuilder::create<kir::AllocTMem>(
allocation_address, IrBuilder::create<Val>(0, DataType::UInt32));
allocation_address,
IrBuilder::create<Val>(
32,
DataType::UInt32) // TODO: hard code allocation size to 32 for now
);
prologue.push_back(alloc_expr);

// Relinquish the right to allocate after we are done with tcgen05.allocs
Expand Down

0 comments on commit 4e5ab6e

Please sign in to comment.