switched to Input/Output Array in reductions operations
This commit is contained in:
@@ -95,7 +95,7 @@ void Worker::operator()(int device_id) const
|
||||
gpu::transpose(d_src, d_dst);
|
||||
|
||||
// Check results
|
||||
bool passed = norm(dst - Mat(d_dst), NORM_INF) < 1e-3;
|
||||
bool passed = cv::norm(dst - Mat(d_dst), NORM_INF) < 1e-3;
|
||||
std::cout << "GPU #" << device_id << " (" << DeviceInfo().name() << "): "
|
||||
<< (passed ? "passed" : "FAILED") << endl;
|
||||
|
||||
|
Reference in New Issue
Block a user