Skip to content

Commit

Permalink
remove unnecessary lbarrier from tutorial kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushikcfd authored and inducer committed Jan 29, 2024
1 parent f8a1ff9 commit a2ad98a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,6 @@ earlier:
acc_k = 0.0f;
if (-1 + -16 * gid(0) + -1 * lid(0) + n >= 0)
a_fetch[lid(0)] = a[16 * gid(0) + lid(0)];
barrier(CLK_LOCAL_MEM_FENCE) /* for a_fetch (insn_k_update depends on a_fetch_rule) */;
if (-1 + -16 * gid(0) + -1 * lid(0) + n >= 0)
{
for (int k = 0; k <= 15; ++k)
Expand Down

0 comments on commit a2ad98a

Please sign in to comment.