Skip to content

Commit

Permalink
Build failure fix
Browse files Browse the repository at this point in the history
Signed-off-by: Akshay Tondak <Akshay.Tondak@amd.com>
  • Loading branch information
Akshay Tondak authored and Akshay Tondak committed Jan 13, 2025
1 parent 91d22f3 commit 1507ee7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/runtime_src/core/pcie/linux/device_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ struct xrt_smi_config
const auto xrt_smi_config_type = std::any_cast<xrt_core::query::xrt_smi_config::type>(reqType);
switch (xrt_smi_config_type) {
case xrt_core::query::xrt_smi_config::type::options_config:
xrt_smi_config = xrt_core::shim::smi::get_smi_config();
xrt_smi_config = xrt_core::smi::get_smi_config();
break;
default:
throw xrt_core::query::no_such_key(key, "Not implemented");
Expand Down
4 changes: 2 additions & 2 deletions src/runtime_src/core/pcie/linux/smi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright (C) 2025 Advanced Micro Devices, Inc. All rights reserved.
#include "smi.h"

namespace xrt_core::shim::smi {
namespace xrt_core::smi {

static constexpr std::string_view xrt_smi_config =
R"(
Expand Down Expand Up @@ -208,4 +208,4 @@ get_smi_config()
{
return std::string(xrt_smi_config);
}
} // namespace xrt_core::shim::smi
} // namespace xrt_core::smi
4 changes: 2 additions & 2 deletions src/runtime_src/core/pcie/linux/smi.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

#include <string>

namespace xrt_core::shim::smi {
namespace xrt_core::smi {

std::string
get_smi_config();

} // namespace xrt_core::shim::smi
} // namespace xrt_core::smi

0 comments on commit 1507ee7

Please sign in to comment.