@@ -101,7 +101,7 @@ public:
101
101
102
102
static void doTest3 (const SizeArray& size)
103
103
{
104
- if (std::is_same<CnType, float16_t >::value) // GpuMat::convertTo is not implemented for CV_16F
104
+ if (std::is_same<CnType, hfloat >::value) // GpuMat::convertTo is not implemented for CV_16F
105
105
return ;
106
106
107
107
const MatType gold = RandomMat (size);
@@ -140,7 +140,7 @@ public:
140
140
141
141
static void doTest4 (const SizeArray& size)
142
142
{
143
- if (std::is_same<CnType, float16_t >::value) // GpuMat::convertTo is not implemented for CV_16F
143
+ if (std::is_same<CnType, hfloat >::value) // GpuMat::convertTo is not implemented for CV_16F
144
144
return ;
145
145
146
146
const MatType gold = RandomMat (size);
@@ -169,7 +169,7 @@ public:
169
169
170
170
static void doTest5 (const SizeArray& size)
171
171
{
172
- if (std::is_same<CnType, float16_t >::value) // GpuMat::convertTo is not implemented for CV_16F
172
+ if (std::is_same<CnType, hfloat >::value) // GpuMat::convertTo is not implemented for CV_16F
173
173
return ;
174
174
175
175
const MatType gold = RandomMat (size);
@@ -204,7 +204,7 @@ using ElemTypes = ::testing::Types<
204
204
Vec<int , 1 >, Vec<int , 2 >, Vec<int , 3 >, Vec<int , 4 >, // CV_32S
205
205
Vec<float , 1 >, Vec<float , 2 >, Vec<float , 3 >, Vec<float , 4 >, // CV_32F
206
206
Vec<double , 1 >, Vec<double , 2 >, Vec<double , 3 >, Vec<double , 4 >, // CV_64F
207
- Vec<float16_t , 1 >, Vec<float16_t , 2 >, Vec<float16_t , 3 >, Vec<float16_t , 4 > // CV_16F
207
+ Vec<hfloat , 1 >, Vec<hfloat , 2 >, Vec<hfloat , 3 >, Vec<hfloat , 4 > // CV_16F
208
208
>;
209
209
210
210
using SizeArray = GpuMatND::SizeArray;
0 commit comments