mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge pull request #5784 from alalek:distrib_fix
This commit is contained in:
@@ -2215,7 +2215,7 @@ class PlanCache
|
||||
clAmdFftDim dim = dft_size.height == 1 || dft_rows ? CLFFT_1D : CLFFT_2D;
|
||||
|
||||
size_t batchSize = dft_rows ? dft_size.height : 1;
|
||||
size_t clLengthsIn[3] = { dft_size.width, dft_rows ? 1 : dft_size.height, 1 };
|
||||
size_t clLengthsIn[3] = { (size_t)dft_size.width, dft_rows ? 1 : (size_t)dft_size.height, 1 };
|
||||
size_t clStridesIn[3] = { 1, 1, 1 };
|
||||
size_t clStridesOut[3] = { 1, 1, 1 };
|
||||
int elemSize = doubleFP ? sizeof(double) : sizeof(float);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
set(the_description "The ts module")
|
||||
|
||||
if(IOS)
|
||||
if(NOT BUILD_opencv_ts AND NOT BUILD_TESTS AND NOT BUILD_PERF_TESTS)
|
||||
ocv_module_disable(ts)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user