From 524fa4c46f8c5c1bc01f7754188e6883f669a543 Mon Sep 17 00:00:00 2001 From: Mehdi Goli Date: Fri, 14 Oct 2016 12:09:55 +0100 Subject: Reducing the code by generalising sycl backend functions/structs. --- unsupported/test/cxx11_tensor_device_sycl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unsupported/test/cxx11_tensor_device_sycl.cpp') 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 -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()); } -- cgit v1.2.3