diff options
author | Mehdi Goli <mehdi.goli@example.com> | 2016-12-01 13:02:27 +0000 |
---|---|---|
committer | Mehdi Goli <mehdi.goli@example.com> | 2016-12-01 13:02:27 +0000 |
commit | 79aa2b784ecc26d6a8ef6fb2b2b053f4ad81593b (patch) | |
tree | 626e91024c30ad3caa510ca2e06548dbd6ffadce /unsupported/Eigen/CXX11/src/util | |
parent | a70393fd02fb56f432c6258ab1744e6d299797e3 (diff) |
Adding sycl backend for TensorPadding.h; disbaling __unit128 for sycl in TensorIntDiv.h; disabling cashsize for sycl in tensorDeviceDefault.h; adding sycl backend for StrideSliceOP ; removing sycl compiler warning for creating an array of size 0 in CXX11Meta.h; cleaning up the sycl backend code.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/util')
-rw-r--r-- | unsupported/Eigen/CXX11/src/util/CXX11Meta.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/unsupported/Eigen/CXX11/src/util/CXX11Meta.h b/unsupported/Eigen/CXX11/src/util/CXX11Meta.h index 197fddab6..e7c1a1bae 100644 --- a/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +++ b/unsupported/Eigen/CXX11/src/util/CXX11Meta.h @@ -49,6 +49,11 @@ struct numeric_list { static constexpr std::size_t count = sizeof...(nn); const T values[count] = {nn...}; }; +template<typename T> +struct numeric_list<T>{ + static constexpr std::size_t count = 0; + //Array of size zero strictly forbiden in ISO C++ +}; #endif |