File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed
Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 2525 "installDir" : " ${sourceDir}/install" ,
2626 "generator" : " Unix Makefiles"
2727 },
28- {
28+ {
2929 "name" : " ascent" ,
3030 "inherits" : " cuda" ,
3131 "displayName" : " Ascent Build" ,
Original file line number Diff line number Diff line change 44
55include ("${CMAKE_CURRENT_LIST_DIR} /ReSolveTargets.cmake" )
66
7+ if (NOT CMAKE_CXX_STANDARD)
8+ set (CMAKE_CXX_STANDARD @CMAKE_CXX_STANDARD@)
9+ endif ()
10+
711include (CheckLanguage)
812# This must come before enable_language(CUDA)
913if (@RESOLVE_USE_CUDA@)
Original file line number Diff line number Diff line change @@ -71,8 +71,11 @@ set(CONSUMER_PATH ${CMAKE_INSTALL_PREFIX}/share/examples)
7171install (PROGRAMS test .sh DESTINATION ${CONSUMER_PATH} )
7272
7373# Select consumer app
74+ # TODO - have an outer loop that adds a unique consumer test for each backend supproted
7475if (RESOLVE_USE_CUDA)
7576 set (RESOLVE_CONSUMER_APP "testKLU_Rf_FGMRES.cpp" )
77+ elseif (RESOLVE_USE_HIP)
78+ set (RESOLVE_CONSUMER_APP "testKLU_RocSolver.cpp" )
7679else ()
7780 set (RESOLVE_CONSUMER_APP "testKLU.cpp" )
7881endif ()
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ find_package(ReSolve REQUIRED)
1111
1212# Build example with KLU factorization and KLU refactorization
1313add_executable (consume.exe consumer.cpp)
14- target_link_libraries (consume.exe PRIVATE ReSolve::ReSolve)
14+ target_link_libraries (consume.exe PUBLIC ReSolve::ReSolve)
1515
1616#------------------------------------------------------------------------------------
1717# Testing of exported Resolve Configurations
You can’t perform that action at this time.
0 commit comments