Skip to content

TNL-Project/tnl-benchmark-spmv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

275 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tnl-benchmark-spmv

Benchmarks for the sparse matrix–vector multiplication (SpMV) with matrix formats in TNL.

Getting started

  1. Install Git.

  2. Clone the repository:

    git clone https://gitlab.com/tnl-project/tnl-benchmark-spmv.git
    
  3. Install the necessary tools and dependencies:

    • CMake build system (version 3.24 or newer)
    • CUDA toolkit (version 11 or newer)
    • compatible host compiler (e.g. GCC or Clang)
  4. Configure the build using cmake in the root path of the Git repository:

    cmake -B build -S . <additional_configure_options...>
    

    This will use build in the current path as the build directory. The path for the -S option corresponds to the root path of the project. You may use additional options to configure the build:

    • -DCMAKE_BUILD_TYPE=<type> where <type> is one of Debug, Release, RelWithDebInfo
    • -DCMAKE_CUDA_ARCHITECTURES=<arch> – to build for a CUDA architecture other than "native"
  5. Build the targets using cmake:

    cmake --build build
    
  6. Edit the launcher script scripts/run-benchmark as appropriate and run it:

    ./scripts/run-benchmark
    

About

Benchmarks for the sparse matrix–vector multiplication (SpMV) with matrix formats in TNL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors