###############################################################################
# FIRESTARTER - A Processor Stress Test Utility
# Copyright (C) 2019 TU Dresden, Center for Information Services and High
# Performance Computing
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
# Contact: daniel.hackenberg@tu-dresden.de
###############################################################################

FIRESTARTER:

run ./FIRESTARTER

run 'make' to rebuild from source

FIRESTARTER_CUDA:

dependencies:
- nvidia-cuda >=10.0
- gcc >=4.4

run ./FIRESTARTER_CUDA
By default, this tool is linked with nvidia-cuda/10.0

FIRESTARTER_CUDA_LEGACY:

dependencies:
- nvidia-cuda >=6.5
- gcc >=4.4

run ./FIRESTARTER_CUDA_LEGACY
By default, this tool is linked with nvidia-cuda/6.5

If you have another version you need to recompile: `make clean; make cuda`
Be sure to have the correct LINUX_CUDA_PATH in the Makefile.

Troubleshooting:
- older GPUs without support for double precision only work with the -f or 
  --usegpufloat switch
- if there appears an 'API mismatch' error, check for correct nvidia-drivers
  and kernel modules installation
- if GPU Initialization takes too much time (like 15-30 seconds), make sure
  that persistence mode is enabled (use: nvidia-smi --persistence-mode=1)


