Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 823 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 823 Bytes

Examples

The examples in this directory show usage for different ways of using mitos. The executables will be installed in the build/examples/ directory.

  1. matmul.cpp: For Running with mitosrun

    $> ./mitosrun ./matmul
  2. openmp_matmul.cpp: For running with mitoshooks (OpenMP)

    $> env OMP_TOOL_LIBRARIES=/path/to/lib/libmitoshooks.so ./openmp_matmul
  3. mpi_matmul.cpp: For running with mitoshooks (MPI)

    $> mpirun -np 4 ./mpi_matmul
  4. api_matmul.cpp: For single-threaded API usage

    $> ./api_matmul
  5. api_openmp_matmul.cpp: For OpenMP based API usage

    $> ./api_openmp_matmul
  6. api_mpi_matmul.cpp: For MPI based API usage

    $> ./api_mpi_matmul