Skip to content

Commit

Permalink
[SYCL][Unittest] Fix build in CompileTarget unittest
Browse files Browse the repository at this point in the history
This commit fixes a build failure resulting from
intel#14909.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
  • Loading branch information
steffenlarsen committed Aug 15, 2024
1 parent 38e588d commit 6593470
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions sycl/unittests/program_manager/CompileTarget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@

using namespace sycl;

namespace sycl::_V1::unittest {
namespace sycl {
inline namespace _V1 {
namespace unittest {
static inline UrImage
generateImageWithCompileTarget(std::string KernelName,
std::string CompileTarget) {
Expand Down Expand Up @@ -48,7 +50,9 @@ generateImageWithCompileTarget(std::string KernelName,

return Img;
}
} // namespace sycl::_V1::unittest
} // namespace unittest
} // namespace _V1
} // namespace sycl

class SingleTaskKernel;
class NDRangeKernel;
Expand Down

0 comments on commit 6593470

Please sign in to comment.