hpcgarage/spatter

Update CMake to pass flags for different platforms and compilers

Closed this issue · 3 comments

Passing flags via CMAKE_C_FLAGS seems to be getting overwritten when cmake is run. Passing these same flags to CMAKE_C_FLAGS_RELEASE works ok as does manually setting the passed flags in CMakelists.

Action item is to determine the best manner for passing flags for specific architectures and clean up our configure scripts.

Updating this issue to capture general update to CMake we'd like to do here:

  • Add support for FindCUDA

  • Add register_model or similar functionality as used with BabelStream

  • Remove configure scripts and folders and add functionality into CMake-specific files for the following platforms:

  • OpenMP

  • CUDA

  • Serial

  • SYCL/OneAPI

Include feedback from Issue #60 and #9 into this issue as appropriate.

Closed by #145 and #141