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.

This commit is contained in:
Mehdi Goli
2016-12-01 13:02:27 +00:00
parent a70393fd02
commit 79aa2b784e
17 changed files with 506 additions and 81 deletions

View File

@@ -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