Skip to content

Commit 2276095

Browse files
committed
Merge pull request #3404 from cudawarped:fix_for_cuda_12
2 parents b9111a9 + 2fa21c1 commit 2276095

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/cudev/test/test_cvt.cu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ public:
101101
GpuMat g_dst;
102102

103103
// Fp32 -> Fp16
104-
cuda::convertFp16(g_src, g_dst);
104+
cv::cuda::convertFp16(g_src, g_dst);
105105
cv::convertFp16(src, dst);
106106
// Fp16 -> Fp32
107-
cuda::convertFp16(g_dst.clone(), g_dst);
107+
cv::cuda::convertFp16(g_dst.clone(), g_dst);
108108
cv::convertFp16(dst, ref);
109109

110110
g_dst.download(dst);
@@ -127,7 +127,7 @@ public:
127127
GpuMat g_dst;
128128

129129
// Fp32 -> Fp16
130-
cuda::convertFp16(g_src, g_dst);
130+
cv::cuda::convertFp16(g_src, g_dst);
131131
cv::convertFp16(src, ref);
132132

133133
g_dst.download(dst);

0 commit comments

Comments
 (0)