diff options
author | Mehdi Goli <mehdi.goli@codeplay.com> | 2016-10-14 12:09:55 +0100 |
---|---|---|
committer | Mehdi Goli <mehdi.goli@codeplay.com> | 2016-10-14 12:09:55 +0100 |
commit | 524fa4c46f8c5c1bc01f7754188e6883f669a543 (patch) | |
tree | 4e52325e02ed13d361cb28db86a2b6c255aea6e3 /unsupported/test/cxx11_tensor_device_sycl.cpp | |
parent | d7f9679a34ef991fa3c9da8f61510d6c48aaa19c (diff) |
Reducing the code by generalising sycl backend functions/structs.
Diffstat (limited to 'unsupported/test/cxx11_tensor_device_sycl.cpp')
-rw-r--r-- | unsupported/test/cxx11_tensor_device_sycl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unsupported/test/cxx11_tensor_device_sycl.cpp b/unsupported/test/cxx11_tensor_device_sycl.cpp index b9368cb84..f54fc8786 100644 --- a/unsupported/test/cxx11_tensor_device_sycl.cpp +++ b/unsupported/test/cxx11_tensor_device_sycl.cpp @@ -20,7 +20,7 @@ #include "main.h" #include <unsupported/Eigen/CXX11/Tensor> -void test_sycl_device() { +void test_device_sycl() { cl::sycl::gpu_selector s; cl::sycl::queue q(s, [=](cl::sycl::exception_list l) { for (const auto& e : l) { @@ -31,9 +31,9 @@ void test_sycl_device() { } } }); - SyclDevice sycl_device(q); + Eigen::SyclDevice sycl_device(q); printf("Helo from ComputeCpp: Device Exists\n"); } void test_cxx11_tensor_device_sycl() { - CALL_SUBTEST(test_sycl_device()); + CALL_SUBTEST(test_device_sycl()); } |