Skip to content

Commit

Permalink
[Bugfix] Fixed wrong capture counter (#12169)
Browse files Browse the repository at this point in the history
Fixed wrong capture counter
  • Loading branch information
dmakoviichuk-tt authored Sep 3, 2024
1 parent 84f944d commit 6eb360e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttnn/cpp/ttnn/graph/graph_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ void GraphProcessor::track_allocate(tt::tt_metal::Buffer* buffer, bool bottom_up

void GraphProcessor::track_deallocate(tt::tt_metal::Buffer* buffer) {
const std::lock_guard<std::mutex> lock(mutex);
auto counter = graph.size();
auto buffer_idx = add_buffer(buffer);
auto counter = graph.size();
std::unordered_map<std::string, std::string> params = {
{kSize, std::to_string(buffer->size())},
{kType, buffer->is_dram() ? "DRAM" : "L1"},
Expand Down

0 comments on commit 6eb360e

Please sign in to comment.