OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
cuda.hpp File Reference
#include <utility>
#include <openpose/core/common.hpp>

Go to the source code of this file.

Namespaces

 op
 

Functions

OP_API void op::cudaCheck (const int line=-1, const std::string &function="", const std::string &file="")
 
OP_API int op::getCudaGpuNumber ()
 
unsigned int op::getNumberCudaBlocks (const unsigned int totalRequired, const unsigned int numberCudaThreads=CUDA_NUM_THREADS)
 
OP_API void op::getNumberCudaThreadsAndBlocks (dim3 &numberCudaThreads, dim3 &numberCudaBlocks, const Point< unsigned int > &frameSize)
 
template<typename T >
void op::reorderAndNormalize (T *targetPtr, const unsigned char *const srcPtr, const int width, const int height, const int channels)
 
template<typename T >
void op::uCharImageCast (unsigned char *targetPtr, const T *const srcPtr, const int volume)
 

Variables

const auto op::CUDA_NUM_THREADS = 512u