lanl / ports-of-call

Performance Portability Utilities
https://lanl.github.io/ports-of-call/
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Add core for build tests #32

Closed mauneyc-LANL closed 1 year ago

mauneyc-LANL commented 1 year ago

PR Summary

Currently the only test in ports-of-call is the install test. This PR does a minimal build configuration for inline tests.

I have included a test from spiner that tests PortableMDArray, but that is just so there is something to test. It appears there are several tests in spiner that should properly be in ports-of-call.

New CMake options:

Dependencies

I'm taking a "less-is-more" approach here; if you want to test, you need Catch2 available - diddo with Kokkos. Further, I've deliberately left out an option for Kokkos CUDA; If you want that, then install Kokkos with CUDA enabled.

CI ?

Should the git[hub/lab] CI begin running these tests? Or should that be a separate PR?

PR Checklist

dholladay00 commented 1 year ago

as long as @Yurlungur is good with the option name this looks g2g.