Skip to content

Commit

Permalink
fixing compilation issues:
Browse files Browse the repository at this point in the history
  • Loading branch information
dgomezTT committed Mar 6, 2025
1 parent 5f875ca commit 4fd4adf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ttnn/cpp/ttnn/graph/graph_argument_serializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ std::ostream& operator<<(std::ostream& os, const std::optional<T>& optional_valu
return os;
}

std::string graph_demangle(const std::string_view& name) {
std::string graph_demangle(const std::string_view name) {
int status = -4;
char* res = abi::__cxa_demangle(name.data(), NULL, NULL, &status);
const char* const demangled_name = (status == 0) ? res : name.data();
Expand Down
3 changes: 2 additions & 1 deletion ttnn/cpp/ttnn/tensor/types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ std::ostream& operator<<(std::ostream& os, const tt::tt_metal::DataType& data_ty
case DataType::UINT8: return os << "UINT8";
case DataType::UINT16: return os << "UINT16";
case DataType::INT32: return os << "INT32";
case DataType::INVALID: return os << "Invalid";
case DataType::INVALID:
default: return os << "Invalid";
}
}

Expand Down

0 comments on commit 4fd4adf

Please sign in to comment.