mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-03 01:04:23 +08:00
Silenced a nvcc compilation warning
This commit is contained in:
parent
b523771a24
commit
0504c56ea7
@ -119,7 +119,7 @@ struct FullReducer<Self, Op, GpuDevice, Vectorizable> {
|
||||
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;
|
||||
|
||||
const Index num_coeffs = array_prod(self.m_impl.dimensions());
|
||||
|
Loading…
x
Reference in New Issue
Block a user