-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7754 from Tech-XCorp/amesos2AddCholmodIntTest
Amesos2: Add test for Cholmod Int
- Loading branch information
Showing
2 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<ParameterList name="test_params"> | ||
|
||
<ParameterList name="tacho_test.mtx"> | ||
|
||
<!-- Optional parameter, used for debugging and for deciding whether to use epetra --> | ||
<Parameter name="complex" type="bool" value="false"/> | ||
<ParameterList name="Cholmod"> | ||
|
||
<!-- Test Epetra objects --> | ||
<ParameterList name="epetra"> | ||
<!-- A non-list entry for epetra denotes a default run, name, type, and value are arbitrary --> | ||
<Parameter name="defaultrun" type="bool" value="true"/> | ||
</ParameterList> | ||
|
||
<!-- Next test Tpetra objects --> | ||
<ParameterList name="tpetra"> | ||
<!-- these `run*' sublist names are arbitrary --> | ||
<!-- The `Node' parameter is not yet supported --> | ||
<!-- Cholmod does not support float yet. --> | ||
|
||
<ParameterList name="run_double_int"> | ||
<Parameter name="Scalar" type="string" value="double"/> | ||
<Parameter name="LocalOrdinal" type="string" value="int"/> | ||
<Parameter name="GlobalOrdinal" type="string" value="int"/> | ||
</ParameterList> | ||
<ParameterList name="run_double_long_long"> | ||
<Parameter name="Scalar" type="string" value="double"/> | ||
<Parameter name="LocalOrdinal" type="string" value="int"/> | ||
<Parameter name="GlobalOrdinal" type="string" value="long long int"/> | ||
</ParameterList> | ||
</ParameterList> | ||
|
||
<!-- Next test Kokkos objects --> | ||
<ParameterList name="kokkos"> | ||
<!-- these `run*' sublist names are arbitrary --> | ||
<!-- Cholmod does not support float yet. --> | ||
<ParameterList name="run_serial_double"> | ||
<Parameter name="Scalar" type="string" value="double"/> | ||
<Parameter name="LocalOrdinal" type="string" value="int"/> | ||
<Parameter name="Node" type="string" value="serial"/> | ||
</ParameterList> | ||
<ParameterList name="run_cuda_double"> | ||
<Parameter name="Scalar" type="string" value="double"/> | ||
<Parameter name="LocalOrdinal" type="string" value="int"/> | ||
<Parameter name="Node" type="string" value="cuda"/> | ||
</ParameterList> | ||
<ParameterList name="run_cudauvmoff_double"> | ||
<Parameter name="Scalar" type="string" value="double"/> | ||
<Parameter name="LocalOrdinal" type="string" value="int"/> | ||
<Parameter name="Node" type="string" value="cudauvmoff"/> | ||
</ParameterList> | ||
</ParameterList> | ||
|
||
<ParameterList name="solver_params"> | ||
<Parameter name="CholmodInt" type="bool" value="true"/> | ||
<!-- Cholmod cannot be GPU for int, though we can still run inputs with GPU as in the above tests,--> | ||
<Parameter name="useGPU" type="int" value="0"/> | ||
</ParameterList> | ||
</ParameterList> <!-- end Cholmod --> | ||
<ParameterList name="all_solver_params"> | ||
</ParameterList> | ||
</ParameterList> <!-- end cholmod_test.mtx --> | ||
|
||
</ParameterList> |