Silenced a few compilation warnings generated by nvcc

This commit is contained in:
Benoit Steiner
2015-02-10 14:34:42 -08:00
parent f669f5656a
commit 6620aaa4b3
7 changed files with 7 additions and 7 deletions

View File

@@ -360,7 +360,7 @@ struct TensorEvaluator<const TensorReductionOp<Op, Dims, ArgType>, Device>
return rslt;
}
Scalar* data() const { return NULL; }
EIGEN_DEVICE_FUNC Scalar* data() const { return NULL; }
private:
template <int, typename, typename> friend struct internal::GenericDimReducer;