diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-06-01 14:20:50 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-06-01 14:20:50 -0700 |
commit | 873e6ac54b79d7422d13c1cdfb56e55b61695746 (patch) | |
tree | 334a8d71ea04a1895490a74ebc38adefab4f3d35 /unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h | |
parent | d27b0ad4c8b6637aad7ef47902742626785b6a76 (diff) |
Silenced compilation warning generated by nvcc.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h b/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h index f9ce24373..45087a9a4 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h @@ -530,6 +530,7 @@ template <typename Self, typename Op> struct InnerReductionLauncher<Self, Op, Eigen::half, false> { static bool run(const Self&, Op&, const GpuDevice&, half*, typename Self::Index, typename Self::Index) { assert(false && "Should not be called since there is no packet accessor"); + return true; } }; |