Skip to content

Commit 7a435cc

Browse files
committed
fix error in comparision
1 parent c1cd58d commit 7a435cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/intel_gpu/src/kernel_selector/cl_kernels/experimental_detectron_generate_proposals_single_image_ref.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ inline void FUNC(quickSortIterative)(__global Box* arr, int l, int h) {
182182

183183
// If there are elements on right side of pivot,
184184
// then push right side to stack
185-
if (p + 1 < h && l < PRE_NMS_TOPN) {
185+
if (p + 1 < h && p + 1 < PRE_NMS_TOPN) {
186186
if (top >= (kStackSize - 1)) {
187187
FUNC_CALL(bubbleSortIterative)(arr, p + 1, h);
188188
} else {

0 commit comments

Comments
 (0)