This series of tutorials serves as an introduction to bulding programs written in CSL using the Cerebras SDK. In each successive tutorial, we introduce additional language features, using a general matrix-vector product (GEMV) as our core computation.Documentation Index
Fetch the complete documentation index at: https://sdk.cerebras.ai/llms.txt
Use this file to discover all available pages before exploring further.
GEMV Tutorial 0: Basic Syntax
Learn preliminaries of CSL syntax.
GEMV Tutorial 1: A Complete Program
Write a complete CSL program.
GEMV Tutorial 2: Memory DSDs
Use memory data structure descriptors (DSDs) for efficient operations on tensors.
GEMV Tutorial 3: Memcpy
Copy tensors from device to host, and vice versa.
GEMV Tutorial 4: Parameters
Use parameters for compile-time specification of your program.
GEMV Tutorial 5: Multiple PEs
Run your program on multiple PEs.
GEMV Tutorial 6: Routes and Fabric DSDs
Use routes and colors to distribute a single GEMV across multiple PEs.

