Skip to content

Latest commit

 

History

History

examples

Examples

This directory contains HammerBlade examples

To add a test, see the instructions in the relevant subdirectories.

Contents

This directory contains the following folders:

  • library: Tests for the BSG Manycore Runtime Library
  • spmd: Tests for basic Manycore functionality. Most tests launch a self-checking program from the BSG Manycore SPMD Directory
  • cuda: Tests for CUDA-Lite functionality. These launch CUDA-Lite kernels from BSG Manycore CUDA-Lite Directory
  • python: Tests with a Python top level (e.g. for TVM)

This directory contains the following files:

  • Makefile: Contains targets for regression (Run make help for more information)
  • flow.mk: A makefile fragment for compiling, linking, and executing tests.
  • compile.mk: A makefile fragment for compiling tests.
  • link.mk: A makefile fragment for linking tests.
  • executing.mk: A makefile fragment for compiling tests.
  • regression.mk: A makefile fragment for running regression and reporting results.

Quick-Start

To run all the regression tests in each of the sub folders run:

make regression

To run a specific sub-suite, run:

make <sub-directory name>

Alternatively, navigate into one of the subdirectories and run make help for more information.