aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/arch/GPU
diff options
context:
space:
mode:
authorGravatar Mehdi Goli <mehdi.goli@codeplay.com>2019-06-27 12:25:09 +0100
committerGravatar Mehdi Goli <mehdi.goli@codeplay.com>2019-06-27 12:25:09 +0100
commit16a56b2dddbfaf2d4b81d62be5e3139f12783ac8 (patch)
tree9ce9ce2f27b9cfadfc34004aecede743e65b6d51 /Eigen/src/Core/arch/GPU
parentadec097c61bd2ff049378b063a4665910c1ed5cc (diff)
[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
Diffstat (limited to 'Eigen/src/Core/arch/GPU')
-rw-r--r--Eigen/src/Core/arch/GPU/Half.h2
1 files changed, 1 insertions, 1 deletions
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