1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #29078 from omrope79:dep_convertFp16

Deprecate CUDA's convertFp16() in favor of convertTo() with CV_16F
This commit is contained in:
Alexander Smorkalov
2026-05-21 15:26:54 +03:00
committed by GitHub
3 changed files with 2 additions and 46 deletions
@@ -1327,15 +1327,6 @@ private:
CV_EXPORTS_W void printCudaDeviceInfo(int device);
CV_EXPORTS_W void printShortCudaDeviceInfo(int device);
/** @brief Converts an array to half precision floating number.
@param _src input array.
@param _dst output array.
@param stream Stream for the asynchronous version.
@sa cv::Mat::convertTo
*/
CV_EXPORTS void convertFp16(InputArray _src, OutputArray _dst, Stream& stream = Stream::Null());
//! @} cudacore_init
}} // namespace cv { namespace cuda {