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