From 2fa21c1ba19fd874b2d84907d4ec15cc396838ae Mon Sep 17 00:00:00 2001 From: James Bowley <12133430+cudawarped@users.noreply.github.com> Date: Mon, 26 Dec 2022 13:39:50 +0200 Subject: [PATCH] cuda: fix CUDA 12.0 build errors --- modules/cudev/test/test_cvt.cu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/cudev/test/test_cvt.cu b/modules/cudev/test/test_cvt.cu index c6595259715..b1847132a88 100644 --- a/modules/cudev/test/test_cvt.cu +++ b/modules/cudev/test/test_cvt.cu @@ -101,10 +101,10 @@ public: GpuMat g_dst; // Fp32 -> Fp16 - cuda::convertFp16(g_src, g_dst); + cv::cuda::convertFp16(g_src, g_dst); cv::convertFp16(src, dst); // Fp16 -> Fp32 - cuda::convertFp16(g_dst.clone(), g_dst); + cv::cuda::convertFp16(g_dst.clone(), g_dst); cv::convertFp16(dst, ref); g_dst.download(dst); @@ -127,7 +127,7 @@ public: GpuMat g_dst; // Fp32 -> Fp16 - cuda::convertFp16(g_src, g_dst); + cv::cuda::convertFp16(g_src, g_dst); cv::convertFp16(src, ref); g_dst.download(dst);