Skip to content

Commit

Permalink
LoomSL - Fix exposure compensation kernel (#1456)
Browse files Browse the repository at this point in the history
Signed-off-by: zichguan-amd <[email protected]>
Co-authored-by: Kiriti Gowda <[email protected]>
  • Loading branch information
zichguan-amd and kiritigowda authored Dec 10, 2024
1 parent ed7a547 commit d5d6bb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ static vx_status VX_CALLBACK exposure_comp_calcErrorFn_opencl_codegen(
" __global int * pAMat, uint cols, uint rows)\n"
"{\n"
" int grp_id = get_global_id(0)>>4;\n"
" if (grp_id < exp_data_num) {\n"
" __local uint sumI[256], sumJ[256];\n"
" if (grp_id < exp_data_num) {\n"
" uint2 offs = ((__global uint2 *)(exp_data+exp_data_offs))[grp_id];\n"
" uint size = (uint)(pIn_stride*%d);\n"
" uint wt_size = (uint)(pWt_stride*%d);\n"
Expand Down

0 comments on commit d5d6bb7

Please sign in to comment.