From 659347086d7ecd6c6b84e3ce914b747d1f1f97b7 Mon Sep 17 00:00:00 2001 From: "Larsen, Steffen" Date: Thu, 15 Aug 2024 04:14:58 -0700 Subject: [PATCH] [SYCL][Unittest] Fix build in CompileTarget unittest This commit fixes a build failure resulting from https://github.com/intel/llvm/pull/14909. Signed-off-by: Larsen, Steffen --- sycl/unittests/program_manager/CompileTarget.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sycl/unittests/program_manager/CompileTarget.cpp b/sycl/unittests/program_manager/CompileTarget.cpp index 138ec8ed87c23..095a4af2a996c 100644 --- a/sycl/unittests/program_manager/CompileTarget.cpp +++ b/sycl/unittests/program_manager/CompileTarget.cpp @@ -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) { @@ -48,7 +50,9 @@ generateImageWithCompileTarget(std::string KernelName, return Img; } -} // namespace sycl::_V1::unittest +} // namespace unittest +} // namespace _V1 +} // namespace sycl class SingleTaskKernel; class NDRangeKernel;