/pcg_precision_comparison

Compare preconditioned conjugate gradient algorithm with different sparse matrices, floating point precision levels, and implementations

Primary LanguageCGNU Affero General Public License v3.0AGPL-3.0

PCG Precision Comparisons

Compare data types to see if the floating point precision will change the number of iterations and answer vectors of a preconditioned conjugate gradient algorithm across the CPU and GPU.

Timings for the GPU and CPU threads are available.

Dependencys

gcc/clang, nvcc, cuda capable gpu

How to use

  • Review and/or change config.ini
  • Pick all the matrix market matricies (.MTX files) to test and put them in the test_subjects/mm directory
  • Run the Bash executable in the root of the project
  • Enjoy the data