File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -232,10 +232,12 @@ namespace mini {
232
232
inline __both__ float rcp (float f) { return 1 .f /f; }
233
233
inline __both__ double rcp (double d) { return 1 ./d; }
234
234
235
- inline __both__ int32_t divRoundUp (int32_t a, int32_t b) { return (a+b-1 )/b; }
236
- inline __both__ uint32_t divRoundUp (uint32_t a, uint32_t b) { return (a+b-1 )/b; }
237
- inline __both__ int64_t divRoundUp (int64_t a, int64_t b) { return (a+b-1 )/b; }
238
- inline __both__ uint64_t divRoundUp (uint64_t a, uint64_t b) { return (a+b-1 )/b; }
235
+ inline __both__ int divRoundUp (int a, int b) { return (a+b-1 )/b; }
236
+ inline __both__ unsigned int divRoundUp (unsigned int a, unsigned int b) { return (a+b-1 )/b; }
237
+ inline __both__ long divRoundUp (long a, long b) { return (a+b-1 )/b; }
238
+ inline __both__ unsigned long divRoundUp (unsigned long a, unsigned long b) { return (a+b-1 )/b; }
239
+ inline __both__ long long divRoundUp (long long a, long long b) { return (a+b-1 )/b; }
240
+ inline __both__ unsigned long long divRoundUp (unsigned long long a, unsigned long long b) { return (a+b-1 )/b; }
239
241
240
242
// #ifdef __CUDA_ARCH__
241
243
// using ::sin; // this is the double version
You can’t perform that action at this time.
0 commit comments