Skip to content

Commit

Permalink
Add preset for debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronrutherford committed Oct 31, 2023
1 parent 71a8064 commit 312af1e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,23 @@
"installDir": "${sourceDir}/install",
"generator": "Unix Makefiles"
},
{
"name": "debug",
"displayName": "ROCm Debug Build",
"description": "Hackathon only debug build",
"binaryDir": "${sourceDir}/build",
"installDir": "${sourceDir}/install",
"generator": "Unix Makefiles",
"cacheVariables": {
"CMAKE_C_COMPILER": "/opt/rocm-5.6.0/bin/amdclang",
"CMAKE_CXX_COMPILER": "/opt/rocm-5.6.0/bin/amdclang++",
"KLU_LIBRARY": "/lustre/orion/csc359/world-shared/nkouk/SuiteSparse/_install/lib/libklu.a",
"KLU_INCLUDE_DIR": "/lustre/orion/csc359/world-shared/nkouk/SuiteSparse/_install/include",
"RESOLVE_USE_GPU": "ON",
"RESOLVE_USE_HIP": "ON"
}

},
{
"name": "cpu",
"displayName": "CPU only build",
Expand Down

0 comments on commit 312af1e

Please sign in to comment.