├── .github └── workflows │ └── deploy-docs.yml ├── .gitignore ├── .gitmodules ├── LICENSE ├── Makefile ├── README.md ├── demo ├── gem5 │ ├── .gitignore │ ├── README.rst │ ├── convert_onnx_model.py │ ├── docker │ │ ├── Dockerfile │ │ └── docker-compose.yaml │ ├── iree │ │ ├── Makefile │ │ └── toolchain.generic.cmake │ └── vlsid-riscv-fs.py └── sst │ ├── README.rst │ ├── docker │ ├── Dockerfile │ ├── docker-compose.yaml │ └── sst-elements.patch │ ├── instruction-level-simulation │ ├── .gitignore │ ├── scale_out.py │ └── scale_up.py │ ├── packet-level-simulation │ ├── large_config.json │ ├── small_config.json │ └── training_llm.py │ └── software │ ├── .gitignore │ ├── Makefile │ ├── check_mpi.c │ ├── gemm_OMP.c │ ├── hello_MPI.c │ ├── hello_MPI_OMP.c │ ├── mha_MPI_OMP.c │ ├── mha_OMP.c │ ├── riscv64.make │ ├── riscv64 │ ├── gemm_OMP │ ├── hello_MPI │ ├── hello_MPI_OMP │ ├── mha_MPI_OMP │ ├── mha_OMP_16 │ ├── mha_OMP_32 │ ├── mha_OMP_64 │ └── mha_OMP_8 │ └── x86.make ├── docs ├── 512px-LOGO-IMEC_black.svg.png ├── conf.py ├── gem5.rst ├── images │ ├── gem5 │ │ ├── gem5-system.svg │ │ └── mnist-8.svg │ ├── sst │ │ ├── core.svg │ │ ├── cpu.svg │ │ ├── mha.svg │ │ ├── mha_mpi.svg │ │ ├── node.svg │ │ └── system.svg │ └── transformer │ │ ├── 3d_parallelism_1.svg │ │ ├── 3d_parallelism_2.svg │ │ ├── data_parallelism.svg │ │ ├── pipeline_parallelism_1.svg │ │ ├── pipeline_parallelism_2.svg │ │ ├── tensor_parallelism.svg │ │ └── transformer_arch.svg ├── index.rst ├── references.bib ├── slides │ ├── 2025_05_ISPASS_Presentation.pdf │ └── VLSID25_Tutorial_Slides_imec_CSA.pdf └── sst.rst ├── external ├── .gitignore ├── INSTALL.rst ├── mvapich2-2.3.7-1.patch ├── mvapich2-2.3.7-1.tar.gz └── sst │ └── libRDMA │ └── Makefile └── requirements.txt /.github/workflows/deploy-docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/.github/workflows/deploy-docs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/README.md -------------------------------------------------------------------------------- /demo/gem5/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/gem5/.gitignore -------------------------------------------------------------------------------- /demo/gem5/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/gem5/README.rst -------------------------------------------------------------------------------- /demo/gem5/convert_onnx_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/gem5/convert_onnx_model.py -------------------------------------------------------------------------------- /demo/gem5/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/gem5/docker/Dockerfile -------------------------------------------------------------------------------- /demo/gem5/docker/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/gem5/docker/docker-compose.yaml -------------------------------------------------------------------------------- /demo/gem5/iree/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/gem5/iree/Makefile -------------------------------------------------------------------------------- /demo/gem5/iree/toolchain.generic.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/gem5/iree/toolchain.generic.cmake -------------------------------------------------------------------------------- /demo/gem5/vlsid-riscv-fs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/gem5/vlsid-riscv-fs.py -------------------------------------------------------------------------------- /demo/sst/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/README.rst -------------------------------------------------------------------------------- /demo/sst/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/docker/Dockerfile -------------------------------------------------------------------------------- /demo/sst/docker/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/docker/docker-compose.yaml -------------------------------------------------------------------------------- /demo/sst/docker/sst-elements.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/docker/sst-elements.patch -------------------------------------------------------------------------------- /demo/sst/instruction-level-simulation/.gitignore: -------------------------------------------------------------------------------- 1 | stderr* 2 | stdout* 3 | *.csv 4 | -------------------------------------------------------------------------------- /demo/sst/instruction-level-simulation/scale_out.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/instruction-level-simulation/scale_out.py -------------------------------------------------------------------------------- /demo/sst/instruction-level-simulation/scale_up.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/instruction-level-simulation/scale_up.py -------------------------------------------------------------------------------- /demo/sst/packet-level-simulation/large_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/packet-level-simulation/large_config.json -------------------------------------------------------------------------------- /demo/sst/packet-level-simulation/small_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/packet-level-simulation/small_config.json -------------------------------------------------------------------------------- /demo/sst/packet-level-simulation/training_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/packet-level-simulation/training_llm.py -------------------------------------------------------------------------------- /demo/sst/software/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/.gitignore -------------------------------------------------------------------------------- /demo/sst/software/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/Makefile -------------------------------------------------------------------------------- /demo/sst/software/check_mpi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/check_mpi.c -------------------------------------------------------------------------------- /demo/sst/software/gemm_OMP.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/gemm_OMP.c -------------------------------------------------------------------------------- /demo/sst/software/hello_MPI.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/hello_MPI.c -------------------------------------------------------------------------------- /demo/sst/software/hello_MPI_OMP.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/hello_MPI_OMP.c -------------------------------------------------------------------------------- /demo/sst/software/mha_MPI_OMP.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/mha_MPI_OMP.c -------------------------------------------------------------------------------- /demo/sst/software/mha_OMP.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/mha_OMP.c -------------------------------------------------------------------------------- /demo/sst/software/riscv64.make: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/riscv64.make -------------------------------------------------------------------------------- /demo/sst/software/riscv64/gemm_OMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/riscv64/gemm_OMP -------------------------------------------------------------------------------- /demo/sst/software/riscv64/hello_MPI: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/riscv64/hello_MPI -------------------------------------------------------------------------------- /demo/sst/software/riscv64/hello_MPI_OMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/riscv64/hello_MPI_OMP -------------------------------------------------------------------------------- /demo/sst/software/riscv64/mha_MPI_OMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/riscv64/mha_MPI_OMP -------------------------------------------------------------------------------- /demo/sst/software/riscv64/mha_OMP_16: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/riscv64/mha_OMP_16 -------------------------------------------------------------------------------- /demo/sst/software/riscv64/mha_OMP_32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/riscv64/mha_OMP_32 -------------------------------------------------------------------------------- /demo/sst/software/riscv64/mha_OMP_64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/riscv64/mha_OMP_64 -------------------------------------------------------------------------------- /demo/sst/software/riscv64/mha_OMP_8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/riscv64/mha_OMP_8 -------------------------------------------------------------------------------- /demo/sst/software/x86.make: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/demo/sst/software/x86.make -------------------------------------------------------------------------------- /docs/512px-LOGO-IMEC_black.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/512px-LOGO-IMEC_black.svg.png -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/gem5.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../demo/gem5/README.rst -------------------------------------------------------------------------------- /docs/images/gem5/gem5-system.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/gem5/gem5-system.svg -------------------------------------------------------------------------------- /docs/images/gem5/mnist-8.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/gem5/mnist-8.svg -------------------------------------------------------------------------------- /docs/images/sst/core.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/sst/core.svg -------------------------------------------------------------------------------- /docs/images/sst/cpu.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/sst/cpu.svg -------------------------------------------------------------------------------- /docs/images/sst/mha.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/sst/mha.svg -------------------------------------------------------------------------------- /docs/images/sst/mha_mpi.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/sst/mha_mpi.svg -------------------------------------------------------------------------------- /docs/images/sst/node.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/sst/node.svg -------------------------------------------------------------------------------- /docs/images/sst/system.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/sst/system.svg -------------------------------------------------------------------------------- /docs/images/transformer/3d_parallelism_1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/transformer/3d_parallelism_1.svg -------------------------------------------------------------------------------- /docs/images/transformer/3d_parallelism_2.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/transformer/3d_parallelism_2.svg -------------------------------------------------------------------------------- /docs/images/transformer/data_parallelism.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/transformer/data_parallelism.svg -------------------------------------------------------------------------------- /docs/images/transformer/pipeline_parallelism_1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/transformer/pipeline_parallelism_1.svg -------------------------------------------------------------------------------- /docs/images/transformer/pipeline_parallelism_2.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/transformer/pipeline_parallelism_2.svg -------------------------------------------------------------------------------- /docs/images/transformer/tensor_parallelism.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/transformer/tensor_parallelism.svg -------------------------------------------------------------------------------- /docs/images/transformer/transformer_arch.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/images/transformer/transformer_arch.svg -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/references.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/references.bib -------------------------------------------------------------------------------- /docs/slides/2025_05_ISPASS_Presentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/slides/2025_05_ISPASS_Presentation.pdf -------------------------------------------------------------------------------- /docs/slides/VLSID25_Tutorial_Slides_imec_CSA.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/slides/VLSID25_Tutorial_Slides_imec_CSA.pdf -------------------------------------------------------------------------------- /docs/sst.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/docs/sst.rst -------------------------------------------------------------------------------- /external/.gitignore: -------------------------------------------------------------------------------- 1 | mvapich2-2.3.7-1 2 | -------------------------------------------------------------------------------- /external/INSTALL.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/external/INSTALL.rst -------------------------------------------------------------------------------- /external/mvapich2-2.3.7-1.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/external/mvapich2-2.3.7-1.patch -------------------------------------------------------------------------------- /external/mvapich2-2.3.7-1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/external/mvapich2-2.3.7-1.tar.gz -------------------------------------------------------------------------------- /external/sst/libRDMA/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/external/sst/libRDMA/Makefile -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSA-infra/RISCV-Scalable-Simulation-tutorial/HEAD/requirements.txt --------------------------------------------------------------------------------