This PR is modernizing print process, no more std::cout and only fmt library which is the C++ print reference implementation. fmt significantly simplifies print process, improves performance (though our print is not in critical path), debugging in compile time, etc.
This PR touches tons of files, please do careful review and verification.
introduced fmt & mdspan_formatter (a forked version with compilation fixes) into codebase
move mdspan library from external to cpm package management since mdspan is used by default everywhere.
use hpcpp-core to package fmt, mdspan_formatter, and mdspan libraries and pass it along to all apps
add a fmt for std::complex where requires std::floating_point
remove printVec since fmt does better job
change a bunch of files
Note, prefixSum-stdexec has some weird operation when printing out out double array. Original code also has segfault when printing, not sure what to fix.
This PR is modernizing print process, no more
std::cout
and onlyfmt
library which is the C++ print reference implementation. fmt significantly simplifies print process, improves performance (though our print is not in critical path), debugging in compile time, etc.This PR touches tons of files, please do careful review and verification.
fmt
&mdspan_formatter
(a forked version with compilation fixes) into codebaseNote, prefixSum-stdexec has some weird operation when printing out
out
double array. Original code also has segfault when printing, not sure what to fix.