Skip to content

Commit

Permalink
Fix get_work_item_once kernel
Browse files Browse the repository at this point in the history
KapiX committed Nov 28, 2024
1 parent 423bbb7 commit 46d0e0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ test_kernel_global(global atomic_int *output) {
}
global_id += temp;
}
atomic_fetch_add(&output[local_id], 1);
atomic_fetch_add(&output[global_id], 1);
};

#ifdef SIMD

0 comments on commit 46d0e0d

Please sign in to comment.