.. _tut-gemv-00-basic-syntax: GEMV Tutorial 0: Basic CSL Syntax ================================= This tutorial is the first in a series of successive tutorials aimed at teaching CSL and the SDK by implementing a general matrix-vector product, or GEMV. We start by illustrating the syntax of some of the core language constructs. The code in this example is not a complete program, but it shows some of the most commonly-used features of the language. Additionally, note that the complete source code for these tutorial programs can be found in the CSL examples bundled with the release tarball, or in the `CSL examples GitHub repository `_. Before you start ---------------- These tutorials are intended for a beginner CSL programmer using the Cerebras SDK. Before you proceed, make sure you installed the Cerebras SDK successfully. See :ref:`install-guide`. As you proceed through these tutorials, you may find :ref:`computing-with-cerebras` and :ref:`tensor-streaming` helpful references for some of the basics of the CSL programming model and the ``SdkRuntime`` host runtime. Learning objectives ------------------- .. include:: objectives.rst Introduction ------------ .. include:: introduction.rst Example overview ---------------- .. include:: overview.rst Writing the CSL --------------- .. include:: device-code.rst Next ---- In the next tutorial, we'll expand this code to a full program.