CSL Code Examples
CSL Code Examples¶
This section contains example SDK programs written in CSL.
Note
For step-by-step introductory tutorials that walk through the GEMV tutorial programs, see Tutorials.
- GEMV 0: Basic CSL Syntax
- GEMV 1: A Complete Program
- GEMV 2: Memory DSDs
- GEMV 3: H2D and D2H Memcpy
- GEMV 4: Parameters
- GEMV 5: Multiple PEs
- GEMV 6: Routes and Fabric DSDs, Part I
- GEMV 7: Routes and Fabric DSDs, Part II
- GEMV 8: Routes and Fabric DSDs, Part III
- GEMV 9: Memcpy Streaming Mode
- Topic 1: Arrays and Pointers
- Topic 2: Libraries
- Topic 3: Streaming Wavelet Data
- Topic 4: Wavelets for Sparse Tensors
- Topic 5: Sentinels
- Topic 6: Switches
- Topic 7: Switches and Control Entrypoints
- Topic 8: Filters
- Topic 9: FIFOs
- Topic 10: @map Builtin
- Topic 11: Collective Communications
- Topic 12: Debug Library
- Topic 13: Simprint Library
- Topic 14: Color Swap
- Topic 13: WSE-3 Microthreads
- Pipeline 1: Redirect fabin to fabout
- Pipeline 2: Attach a FIFO to H2D
- Pipeline 3: Add an artificial halo
- GEMV with Checkerboard Pattern
- GEMV with Collective Communications
- GEMM with Collective Operations
- Residual
- Cholesky
- 25-Point Stencil
- Bandwidth Test
- Hypersparse SpMV
- 3D 7-Point Stencil SpMV
- Power Method
- Conjugate Gradient
- Preconditioned Conjugate Gradient
- BiCGSTAB
- Single Tile Matvec
- Host-to-Device Broadcast Test
- Conway’s Game of Life