Skip to content

Commit

Permalink
Ignore opID 0
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-tenstorrent committed Jan 14, 2025
1 parent 486b66c commit f159614
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tt_metal/tools/profiler/process_device_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ def get_ops(timeseries):

ops.append({"timeseries": []})
for opID in ordered_ops:
if opID == 0:
continue
op = opsDict[opID]
opCores = {}

Expand Down
2 changes: 1 addition & 1 deletion ttnn/cpp/ttnn/core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class CoreIDs {
~CoreIDs() = default;
std::atomic<std::int64_t> tensor_id;
std::atomic<std::int64_t> python_operation_id;
std::atomic<std::int64_t> device_operation_id;
std::atomic<std::int64_t> device_operation_id = 1;
};

} // namespace ttnn

0 comments on commit f159614

Please sign in to comment.