-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spgemm perf test enhancements (#1664)
* SpGEMM perf test enhancements - SYCL, OpenMPTarget support - Document the --checkoutput option in the help text - When checking output, just give the max absolute error in values so the user can decide what's acceptable (instead of erroring out based on a fixed epsilon) * spgemm perftest: fix device id for sycl/omptarget * Fix sometimes-uninitialized warning * SpGEMM perf test: allow Serial to be used Pass device_id = 0 to Kokkos::initialize if no backend is requested. That way, if the build has a GPU backend is enabled but no backend is requested, Kokkos::initialize won't fail and Serial can be used. * One more spgemm perftest fix - Initialize use_openmptarget in TestParameters constructor (this needs to be zeroed out, otherwise it gets used as device id) - Print out which backend is actually being run * spgemm perftest: error out if backend not available * Fix unused variable warning * Finish spgemm perf test refactor - Add check_arg_double(...) to perf test utils - Use perf test utils for arg parsing, selecting backend - Get rid of the ability to have distinct fast/slow memory spaces - Merge the three files that made up the perf test into just KokkosSparse_spgemm.cpp - Change some types in KokkosKernels::Experiment::Parameters to be safer - on/off values should be bool, not int - strings should be std::string, not char*
- Loading branch information
1 parent
a94163c
commit 27ec2cd
Showing
10 changed files
with
461 additions
and
736 deletions.
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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.