Skip to content

Commit

Permalink
Merge pull request uxlfoundation#489 from coldav/colin/fix_unitcl_tes…
Browse files Browse the repository at this point in the history
…t_riscv_host

Fix test IncrementKernelTwiceDifferentQueues
  • Loading branch information
coldav authored Jul 4, 2024
2 parents 0e91395 + d3d78e3 commit fa0f1a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ TEST_F(CommandBufferEnqueueTest, IncrementKernelTwiceDifferentQueues) {
// We need something we can check was enqueued twice.
const char *code = R"OpenCLC(
__kernel void increment_kernel(global int *counter) {
++(counter[0]);
atomic_inc(&counter[0]);
}
)OpenCLC";
const size_t code_length = std::strlen(code);
Expand Down

0 comments on commit fa0f1a3

Please sign in to comment.