cudaCAC/kernels/utils.cuh

9 lines
161 B
Text
Raw Permalink Normal View History

#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