Added missing define

This commit is contained in:
Benoit Steiner 2015-12-22 16:11:07 -08:00
parent e7e6d01810
commit 9c7d96697b

View File

@ -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