Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
8f3367c
Fix number of digits in test output.
pelesh Oct 5, 2024
347f490
Create a prototype for functionality test helper class.
pelesh Oct 8, 2024
affa478
Set correct norm of the exact solution.
pelesh Oct 15, 2024
c97a4f1
comments from ramp-up meeting
Oct 15, 2024
dfb4d39
default tol for testhelper, condensed 1st section in refactor test
Oct 15, 2024
6609676
initial migration of header to cpp
Oct 16, 2024
478fb07
migrated checkRelativeResidualNorm
Oct 16, 2024
154bf8b
moved over constructors and another function
Oct 16, 2024
ccd0d09
moved over print function
Oct 16, 2024
2a56bd0
moved over final function
Oct 16, 2024
4b439d0
removed extraneous comments
Oct 16, 2024
3a80caf
removed a header
Oct 16, 2024
d5d7692
removed all includes from FunctionalityTestHelper header
Oct 16, 2024
af71d46
added FunctionalityTestHelper to AMD GPU toolchain
Oct 16, 2024
71d92dc
CUDA breaks the CI, turning off
Oct 16, 2024
6aad298
a few style guidelines
Oct 16, 2024
2a2dd55
added cmath...
Oct 16, 2024
eda6049
updated some formatting
Oct 16, 2024
a988879
removed comment
Oct 17, 2024
a6d8414
minor formatting changes, removed comment
Oct 17, 2024
a933508
minor formatting changes
Oct 17, 2024
6e65a4c
creating more functions
Oct 21, 2024
07d1f50
migrated more functionality into shorter functions
Oct 21, 2024
a364dae
moved printing into functions
Oct 21, 2024
6ed75cd
moved a function
Oct 21, 2024
deaaaa8
invoked functions directly in test
Oct 21, 2024
80065e8
formatting - parens, spaces in if-statements, brackets in if statements
Oct 21, 2024
68a497f
missed a couple parens
Oct 21, 2024
9bd2275
addressed PR comments
Oct 22, 2024
119c394
calculate norms before attempting to check...
Oct 22, 2024
b322720
fixed test name
Oct 22, 2024
eab2bf8
fixed a function name
Oct 22, 2024
260d7fb
fixed remaining function names
Oct 22, 2024
f6f0079
fixed comments
Oct 22, 2024
51ef0fb
testhelper no longer owns the workspace
Oct 29, 2024
1ef2724
comment
Oct 29, 2024
671f5e6
re-ordered code blocks
Oct 29, 2024
f826911
empty shell for new class
Oct 29, 2024
96eaeaa
created a memory leak
Oct 29, 2024
c418cfd
intermediate state: axb problem constructed, not hooked into test yet
Oct 29, 2024
055d389
added axb problem class to test file with updateProblem() functionali…
Oct 29, 2024
60b1cd6
cleaned up comments
Oct 29, 2024
f47d914
pass problem object to calculateNorms instead of individual items
Oct 30, 2024
41eb33a
notes for phase II refactor
Oct 30, 2024
212e9ce
set C++ version to 14, use unique_ptrs for handlers
Oct 31, 2024
157c296
add some const correctness, break up long function into more files
Oct 31, 2024
6aa2ae0
fixed small bug
Oct 31, 2024
9dc1fa4
updated comment
Nov 1, 2024
1c1a2b5
Minor cleanup in functionality test helper.
pelesh Nov 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cmake_minimum_required(VERSION 3.22)
# Adds version settings and set variable CMAKE_PROJECT_VERSION
project(ReSolve VERSION "0.99.1")

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)

set(PACKAGE_NAME "ReSolve")
set(PACKAGE_TARNAME "resolve")
Expand Down
8 changes: 6 additions & 2 deletions tests/functionality/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

]]

# Create functionality test helper
add_library(FunctionalityTestHelper SHARED FunctionalityTestHelper.cpp)
target_link_libraries(FunctionalityTestHelper PRIVATE ReSolve)

# Build basic version test
add_executable(version.exe testVersion.cpp)
target_link_libraries(version.exe PRIVATE ReSolve)
Expand Down Expand Up @@ -38,7 +42,7 @@ if(RESOLVE_USE_CUDA)

# System solver test with cusolver rf and iterative refinement
add_executable(sys_refactor_cuda_test.exe testSysRefactor.cpp)
target_link_libraries(sys_refactor_cuda_test.exe PRIVATE ReSolve)
target_link_libraries(sys_refactor_cuda_test.exe PRIVATE ReSolve FunctionalityTestHelper)

# Build KLU+GLU test
add_executable(klu_glu_test.exe testKLU_GLU.cpp)
Expand Down Expand Up @@ -69,7 +73,7 @@ if(RESOLVE_USE_HIP)

# System solver test with rocm rf and iterative refinement
add_executable(sys_refactor_hip_test.exe testSysRefactor.cpp)
target_link_libraries(sys_refactor_hip_test.exe PRIVATE ReSolve)
target_link_libraries(sys_refactor_hip_test.exe PRIVATE ReSolve FunctionalityTestHelper )
endif(RESOLVE_USE_KLU)

# Build randSolver test
Expand Down
Loading