Skip to content

Commit 731934d

Browse files
Jason SamsAndroid (Google) Code Review
authored andcommitted
Merge "Fix bug with 1D arrays and threading. Some elements got launched multiple times."
2 parents 5247fb3 + 2802dae commit 731934d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/rs/driver/rsdBcc.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,12 +267,12 @@ static void wc_x(void *usr, uint32_t idx) {
267267
return;
268268
}
269269

270-
//LOGE("usr idx %i, x %i,%i y %i,%i", idx, mtls->xStart, mtls->xEnd, yStart, yEnd);
270+
//LOGE("usr slice %i idx %i, x %i,%i", slice, idx, xStart, xEnd);
271271
//LOGE("usr ptr in %p, out %p", mtls->ptrIn, mtls->ptrOut);
272+
272273
p.out = mtls->ptrOut + (mtls->eStrideOut * xStart);
273274
p.in = mtls->ptrIn + (mtls->eStrideIn * xStart);
274-
fn(&mtls->script->mHal.info.root, &p, mtls->xStart, mtls->xEnd,
275-
mtls->eStrideIn, mtls->eStrideOut);
275+
fn(&mtls->script->mHal.info.root, &p, xStart, xEnd, mtls->eStrideIn, mtls->eStrideOut);
276276
}
277277
}
278278

0 commit comments

Comments
 (0)