Silenced a nvcc compilation warning

This commit is contained in:
Benoit Steiner 2016-01-11 15:49:21 -08:00
parent b523771a24
commit 0504c56ea7

View File

@ -119,7 +119,7 @@ struct FullReducer<Self, Op, GpuDevice, Vectorizable> {
assert(false && "Should only be called on floats"); assert(false && "Should only be called on floats");
} }
static void run(const Self& self, Op& reducer, const GpuDevice& device, float* output) { static EIGEN_DEVICE_FUNC void run(const Self& self, Op& reducer, const GpuDevice& device, float* output) {
typedef typename Self::Index Index; typedef typename Self::Index Index;
const Index num_coeffs = array_prod(self.m_impl.dimensions()); const Index num_coeffs = array_prod(self.m_impl.dimensions());