aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/cxx11_tensor_device_sycl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unsupported/test/cxx11_tensor_device_sycl.cpp')
-rw-r--r--unsupported/test/cxx11_tensor_device_sycl.cpp6
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());
}