cuda_utils.h 162 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
#ifndef _STACK_CUDA_UTILS_H
#define _STACK_CUDA_UTILS_H

#include <cmath>

#define THREADS_PER_BLOCK 256
#define DIVUP(m,n) ((m) / (n) + ((m) % (n) > 0))

#endif