Skip to content

Commit

Permalink
Fixed issue in OpenCL with updating the validation value array instea…
Browse files Browse the repository at this point in the history
…d of writing only. Was using += when we should have been doing =.
  • Loading branch information
jtramm authored Mar 4, 2020
1 parent b4c41dd commit f8a126a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencl/kernel.cl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ __kernel void macro_xs_lookup_kernel( Input in,
max_idx = j;
}
}
verification_array[i] += max_idx+1;
verification_array[i] = max_idx+1;

}

Expand Down

0 comments on commit f8a126a

Please sign in to comment.