Skip to content

Commit 83e98d2

Browse files
committed
Merge moved code from opencv/3.4
2 parents 5cfdefb + 92729b3 commit 83e98d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/cudalegacy/src/cuda/NCVBroxOpticalFlow.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ NCVStatus NCVBroxOpticalFlow(const NCVBroxOpticalFlowDescriptor desc,
955955

956956
//compute derivatives
957957
dim3 dBlocks(iDivUp(kLevelWidth, 32), iDivUp(kLevelHeight, 6));
958-
dim3 dThreads(32, 6);
958+
//dim3 dThreads(32, 6);
959959

960960
const int kPitchTex = kLevelStride * sizeof(float);
961961

@@ -1121,7 +1121,7 @@ NCVStatus NCVBroxOpticalFlow(const NCVBroxOpticalFlowDescriptor desc,
11211121
Ncv32u ns = alignUp(nw, kStrideAlignmentFloat);
11221122

11231123
dim3 p_blocks(iDivUp(nw, 32), iDivUp(nh, 8));
1124-
dim3 p_threads(32, 8);
1124+
//dim3 p_threads(32, 8);
11251125

11261126
NcvSize32u inner_srcSize (kLevelWidth, kLevelHeight);
11271127
NcvSize32u dstSize (nw, nh);

0 commit comments

Comments
 (0)