Replace private.cuda.hpp with conditional include of cuda_fp16.h.

pull/9769/head
Peter J. Stieber 8 years ago
parent 2a2537725a
commit 5669ee815b
  1. 4
      modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp

@ -47,7 +47,9 @@
#define OPENCV_CUDEV_UTIL_SATURATE_CAST_HPP
#include "../common.hpp"
#include "opencv2/core/private.cuda.hpp"
#if __CUDACC_VER_MAJOR__ >= 9
#include <cuda_fp16.h>
#endif
namespace cv { namespace cudev {

Loading…
Cancel
Save