cudaCAC/kernels/utils.cuh

8 lines
161 B
Text

#ifndef UTILS_CUH
#define UTILS_CUH
namespace utils {
__device__ __host__ inline int max(int a, int b) { return (a > b) ? a : b; }
} // namespace utils
#endif