Merged in benoitsteiner/opencl (pull request PR-246)

Improved support for OpenCL
This commit is contained in:
Benoit Steiner
2016-11-08 22:28:44 +00:00
24 changed files with 879 additions and 469 deletions

View File

@@ -14,16 +14,6 @@
// first thing Eigen does: stop the compiler from committing suicide
#include "src/Core/util/DisableStupidWarnings.h"
/// This will no longer be needed after the next release of the computecppCE
#ifdef EIGEN_USE_SYCL
#undef min
#undef max
#undef isnan
#undef isinf
#undef isfinite
#include <SYCL/sycl.hpp>
#endif
// Handle NVCC/CUDA/SYCL
#if defined(__CUDACC__) || defined(__SYCL_DEVICE_ONLY__)
// Do not try asserts on CUDA and SYCL!