Skip to content

Commit

Permalink
ugly workaround to lval reference to enum :(
Browse files Browse the repository at this point in the history
  • Loading branch information
vwellsTT committed Nov 14, 2024
1 parent 9ec7a5e commit 94fd6eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/lib/common/system_desc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ static std::unique_ptr<::tt::runtime::SystemDesc> getCurrentSystemDescImpl(
getAllDeviceConnections(devices);
// Store CPUDesc
std::vector<::flatbuffers::Offset<tt::target::CPUDesc>> cpuDescs;
cpuDescs.emplace_back(::tt::target::CreateCPUDesc(::tt::target::CPURole::Host, std::string(TARGET_TRIPLE)));
const auto cpuRole = ::tt::target::CPURole::Host;
cpuDescs.emplace_back(::tt::target::CreateCPUDesc(cpuRole, std::string(TARGET_TRIPLE)));

// Create SystemDesc
auto systemDesc = ::tt::target::CreateSystemDescDirect(
Expand Down

0 comments on commit 94fd6eb

Please sign in to comment.