diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2018-10-18 16:29:29 -0700 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2018-10-18 16:29:29 -0700 |
commit | dda68f56eca13d6942ee9aabb0b6c55153802548 (patch) | |
tree | 19dac106572cc3becd0ae20588512d015c5fba15 /unsupported/Eigen/CXX11/Tensor | |
parent | 1dcf5a6ed8c5878a951b6eb7cbfa473030b3f7a8 (diff) |
Fix GPU build due to gpu_assert not always being defined.
Diffstat (limited to 'unsupported/Eigen/CXX11/Tensor')
-rw-r--r-- | unsupported/Eigen/CXX11/Tensor | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unsupported/Eigen/CXX11/Tensor b/unsupported/Eigen/CXX11/Tensor index 22eae34ea..25b663046 100644 --- a/unsupported/Eigen/CXX11/Tensor +++ b/unsupported/Eigen/CXX11/Tensor @@ -102,6 +102,9 @@ typedef unsigned __int64 uint64_t; #include "src/Tensor/TensorDeviceDefault.h" #include "src/Tensor/TensorDeviceThreadPool.h" #include "src/Tensor/TensorDeviceGpu.h" +#ifndef gpu_assert +#define gpu_assert(x) +#endif #include "src/Tensor/TensorDeviceSycl.h" #include "src/Tensor/TensorIndexList.h" #include "src/Tensor/TensorDimensionList.h" |