36 #define TOTAL_THREADS 1024 37 #define THREADS_PER_BLOCK 256 38 #define DIVUP(m, n) ((m) / (n) + ((m) % (n) > 0)) 41 const int pow_2 = std::log(static_cast<double>(work_size)) / std::log(2.0);
#define TOTAL_THREADS
Definition: cuda_utils.h:36
int opt_n_threads(int work_size)
Definition: cuda_utils.h:40
Definition: PinholeCameraIntrinsic.cpp:35
#define max(x, y)
Definition: SVD3x3CPU.h:38