diff --git a/sycl/test/basic_tests/builtins_implicitly_convertible_args.cpp b/sycl/test/basic_tests/builtins/builtins_implicitly_convertible_args.cpp similarity index 100% rename from sycl/test/basic_tests/builtins_implicitly_convertible_args.cpp rename to sycl/test/basic_tests/builtins/builtins_implicitly_convertible_args.cpp diff --git a/sycl/test/basic_tests/builtins_templates.cpp b/sycl/test/basic_tests/builtins/builtins_templates.cpp similarity index 100% rename from sycl/test/basic_tests/builtins_templates.cpp rename to sycl/test/basic_tests/builtins/builtins_templates.cpp diff --git a/sycl/test/basic_tests/relational_builtins.cpp b/sycl/test/basic_tests/builtins/relational_builtins.cpp similarity index 96% rename from sycl/test/basic_tests/relational_builtins.cpp rename to sycl/test/basic_tests/builtins/relational_builtins.cpp index ab9f3aa5c4326..eabd7e26c35cb 100644 --- a/sycl/test/basic_tests/relational_builtins.cpp +++ b/sycl/test/basic_tests/builtins/relational_builtins.cpp @@ -4,7 +4,7 @@ // NOTE: Compile the test fully to ensure the library exports the right host // symbols. -#include +#include // Some helper macros to verify return type of the builtins. To be used like // this @@ -19,15 +19,15 @@ template struct CheckHelper { template static auto call(F f) { return f(Args()...); } }; -#define CHECK(EXPECTED, FUNC, ...) \ +#define CHECK(EXPECTED, FUNC, ...) \ { \ auto ret = CheckHelper<__VA_ARGS__>::call( \ - [](auto... args) { return cl::sycl::FUNC(args...); }); \ - static_assert(std::is_same_v); \ + [](auto... args) { return sycl::FUNC(args...); }); \ + static_assert(std::is_same_v); \ } void foo() { - using namespace cl::sycl; + using namespace sycl; using boolm = marray; using int16v = vec; @@ -247,9 +247,9 @@ void foo() { } int main() { - cl::sycl::queue q; + sycl::queue q; foo(); // Verify host. - q.submit([&](cl::sycl::handler &cgh) { + q.submit([&](sycl::handler &cgh) { cgh.single_task([]() { foo(); // verify device });