diff --git a/docs/source/programming.rst b/docs/source/programming.rst index 553d2d086..cd70fccfd 100644 --- a/docs/source/programming.rst +++ b/docs/source/programming.rst @@ -236,7 +236,7 @@ example also makes use of loop tiling. There are three main steps to leverage th sum += aSub[k* TS + row] * bSub[col * TS + k]; } // Synchronise before loading the next tile - context.globalBarrier(); + context.localBarrier(); } // Store the final result in C