Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions modules/cudev/test/test_nd.cu
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public:

static void doTest3(const SizeArray& size)
{
if (std::is_same<CnType, float16_t>::value) // GpuMat::convertTo is not implemented for CV_16F
if (std::is_same<CnType, fp16_t>::value) // GpuMat::convertTo is not implemented for CV_16F
return;

const MatType gold = RandomMat(size);
Expand Down Expand Up @@ -134,7 +134,7 @@ public:

static void doTest4(const SizeArray& size)
{
if (std::is_same<CnType, float16_t>::value) // GpuMat::convertTo is not implemented for CV_16F
if (std::is_same<CnType, fp16_t>::value) // GpuMat::convertTo is not implemented for CV_16F
return;

const MatType gold = RandomMat(size);
Expand Down Expand Up @@ -163,7 +163,7 @@ public:

static void doTest5(const SizeArray& size)
{
if (std::is_same<CnType, float16_t>::value) // GpuMat::convertTo is not implemented for CV_16F
if (std::is_same<CnType, fp16_t>::value) // GpuMat::convertTo is not implemented for CV_16F
return;

const MatType gold = RandomMat(size);
Expand Down Expand Up @@ -198,7 +198,7 @@ using ElemTypes = ::testing::Types<
Vec<int, 1>, Vec<int, 2>, Vec<int, 3>, Vec<int, 4>, // CV_32S
Vec<float, 1>, Vec<float, 2>, Vec<float, 3>, Vec<float, 4>, // CV_32F
Vec<double, 1>, Vec<double, 2>, Vec<double, 3>, Vec<double, 4>, //CV_64F
Vec<float16_t, 1>, Vec<float16_t, 2>, Vec<float16_t, 3>, Vec<float16_t, 4> // CV_16F
Vec<fp16_t, 1>, Vec<fp16_t, 2>, Vec<fp16_t, 3>, Vec<fp16_t, 4> // CV_16F
>;

using SizeArray = GpuMatND::SizeArray;
Expand Down