diff --git a/SYCL/DeviceLib/built-ins/printf.cpp b/SYCL/DeviceLib/built-ins/printf.cpp index 5b6d7a2cf3..9170494418 100644 --- a/SYCL/DeviceLib/built-ins/printf.cpp +++ b/SYCL/DeviceLib/built-ins/printf.cpp @@ -7,12 +7,13 @@ // RUN: %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER // RUN: %ACC_RUN_PLACEHOLDER %t.out %ACC_CHECK_PLACEHOLDER -#include +#include +#include #include #include -using namespace cl::sycl; +using namespace sycl; // According to OpenCL C spec, the format string must be in constant address // space diff --git a/SYCL/ESIMD/printf.cpp b/SYCL/ESIMD/printf.cpp index 0e97514a8d..b4133b84f2 100644 --- a/SYCL/ESIMD/printf.cpp +++ b/SYCL/ESIMD/printf.cpp @@ -20,13 +20,14 @@ #include "esimd_test_utils.hpp" -#include #include +#include +#include #include #include -using namespace cl::sycl::ext; +using namespace sycl::ext; // According to OpenCL C spec, the format string must be in constant address // space