# Toolchain for the Stanford CS149 notes and code.
#
# The parallel programs are real C++, built with make. You need:
#   - a C++20 compiler: clang++ (Apple/LLVM) or g++ >= 11
#       (C++20 is used for std::barrier; everything else is C++17)
#   - make
# On macOS these come with the Xcode Command Line Tools:
#   xcode-select --install
# On Debian/Ubuntu:
#   sudo apt-get install build-essential
#
# Simulators and models:
#   - python3 >= 3.9, standard library only for Lectures 1-8
#   - numpy (Lectures 9-13, for DNN / accelerator models and the Halide / kernel-checker demos):
#       numpy>=1.24
#
# Optional, per lecture (each Makefile detects them and skips what is missing):
#   - ispc            (not used: Lecture 3 emulates ISPC's semantics in
#                      Python (spmd.py) and measures its implementation with
#                      NEON/AVX2 intrinsics; PA1's own starter code uses ispc)
#   - Rosetta 2       (Lecture 2, `make avx2` on an Apple Silicon Mac: runs the
#                      x86-64 AVX2 build of demo 01; macOS installs it on
#                      first use of an x86-64 program)
#   - swiftc          (Lectures 7-8: Metal compute demos on an Apple GPU; part of
#                      the Xcode Command Line Tools)
#   - nvcc + NVIDIA GPU (Lecture 7: convolve.cu, the slides' CUDA kernels; not
#                      compiled by the author, who has no NVIDIA GPU)
#   - macOS on Apple silicon (Lectures 9-10: the C++ demos use NEON and Apple's
#                      Accelerate framework, whose large SGEMMs run on the M4's
#                      matrix hardware; elsewhere `make` skips them)
#   - ThreadSanitizer  (Lecture 15: -fsanitize=thread, bundled with clang/gcc)
#
# Machine notes:
#   The author's machine is an Apple M4 Pro (arm64, 8 performance + 4
#   efficiency cores, NEON SIMD, no SMT, 128-byte cache lines). The demos also
#   build on x86-64 Linux; SIMD demos pick NEON or AVX2 at compile time (the
#   Makefiles add -mavx2 -mfma on x86-64).
#
# There are no pip packages needed for Lectures 1-8; the one pip package used
# later is listed above.
