mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
Merge pull request #16754 from alalek:issue_16752
* core(test): FP16 norm test * core: norm()-FP16 disable OpenCL * core(norm): fix 16f32f local buffer size
This commit is contained in:
committed by
GitHub
parent
619180dffd
commit
198b5096aa
@@ -46,6 +46,9 @@ bool ocl_sum( InputArray _src, Scalar & res, int sum_op, InputArray _mask,
|
||||
if ( (!doubleSupport && depth == CV_64F) || cn > 4 )
|
||||
return false;
|
||||
|
||||
if (depth >= CV_16F)
|
||||
return false;
|
||||
|
||||
int ngroups = dev.maxComputeUnits(), dbsize = ngroups * (calc2 ? 2 : 1);
|
||||
size_t wgs = dev.maxWorkGroupSize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user