mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-08 05:49:06 +08:00
Added missing define
This commit is contained in:
parent
e7e6d01810
commit
9c7d96697b
@ -131,6 +131,7 @@ struct FullReducer<Self, Op, GpuDevice, Vectorizable> {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define DIVUP(x, y) (((x) + (y)-1) / (y))
|
||||||
|
|
||||||
template <int NumPerThread, typename Self,
|
template <int NumPerThread, typename Self,
|
||||||
typename Reducer, typename Index>
|
typename Reducer, typename Index>
|
||||||
@ -185,6 +186,8 @@ struct OuterReducer<Self, Op, GpuDevice> {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#undef DIVUP
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user