Skip to content

Commit

Permalink
fix pair access
Browse files Browse the repository at this point in the history
  • Loading branch information
jjiangTT committed Mar 3, 2025
1 parent 92f391b commit 8a9e4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttnn/cpp/ttnn/tensor/storage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ struct MultiDeviceStorage {
TT_ASSERT(
buffer_it->device() == device,
"Mismatch between device derived from buffer and device derived from MultiDeviceStorage.");
return *buffer_it;
return buffer_it->second;
}

inline std::shared_ptr<Buffer>& get_buffer_for_device(IDevice* device) {
Expand Down

0 comments on commit 8a9e4b1

Please sign in to comment.