From 16a56b2dddbfaf2d4b81d62be5e3139f12783ac8 Mon Sep 17 00:00:00 2001 From: Mehdi Goli Date: Thu, 27 Jun 2019 12:25:09 +0100 Subject: [SYCL] This PR adds the minimum modifications to Eigen core required to run Eigen unsupported modules on devices supporting SYCL. * Adding SYCL memory model * Enabling/Disabling SYCL backend in Core * Supporting Vectorization --- Eigen/src/Core/arch/GPU/Half.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/arch/GPU') diff --git a/Eigen/src/Core/arch/GPU/Half.h b/Eigen/src/Core/arch/GPU/Half.h index 6869354b1..655dc20d5 100644 --- a/Eigen/src/Core/arch/GPU/Half.h +++ b/Eigen/src/Core/arch/GPU/Half.h @@ -65,7 +65,7 @@ struct __half_raw { typedef __half __half_raw; #endif // defined(EIGEN_HAS_CUDA_FP16) -#elif defined(EIGEN_USE_SYCL) && defined(__SYCL_DEVICE_ONLY__) +#elif defined(SYCL_DEVICE_ONLY) typedef cl::sycl::half __half_raw; #endif -- cgit v1.2.3