OpenCV  3.4.19
Open Source Computer Vision
Namespaces | Macros | Functions
common.hpp File Reference
#include <cuda_runtime.h>
#include "opencv2/core/cuda.hpp"
#include "opencv2/core/cuda_stream_accessor.hpp"

Namespaces

 cv
 
 cv::cudev
 

Macros

#define CV_CUDEV_ARCH   0
 
#define CV_CUDEV_SAFE_CALL(expr)   cv::cudev::checkCudaError((expr), __FILE__, __LINE__, CV_Func)
 
#define CV_LOG2_F   ((float)CV_LOG2)
 
#define CV_PI_F   ((float)CV_PI)
 
#define OPENCV_CUDEV_COMMON_HPP
 

Functions

__host__ __forceinline__ void cv::cudev::checkCudaError (cudaError_t err, const char *file, const int line, const char *func)
 
__host__ __device__ __forceinline__ int cv::cudev::divUp (int total, int grain)
 

Macro Definition Documentation

◆ OPENCV_CUDEV_COMMON_HPP

#define OPENCV_CUDEV_COMMON_HPP