1 #ifndef OPENPOSE_GPU_CUDA_HPP
2 #define OPENPOSE_GPU_CUDA_HPP
18 return (totalRequired + numberCudaThreads - 1) / numberCudaThreads;
22 const Point<int>& frameSize);
25 #endif // OPENPOSE_GPU_CUDA_HPP
unsigned int getNumberCudaBlocks(const unsigned int totalRequired, const unsigned int numberCudaThreads=CUDA_NUM_THREADS)
Definition: cuda.hpp:15
OP_API int getCudaGpuNumber()
OP_API void cudaCheck(const int line=-1, const std::string &function="", const std::string &file="")
#define OP_API
Definition: macros.hpp:19
OP_API void getNumberCudaThreadsAndBlocks(dim3 &numberCudaThreads, dim3 &numberCudaBlocks, const Point< int > &frameSize)
const auto CUDA_NUM_THREADS
Definition: cuda.hpp:9
std::string string
Definition: cl2.hpp:574