-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TriBITS/CMake configure information about node types #243
Comments
Per discussion today with @rppawlo, add CMake variable to Kokkos that chooses the default execution space. Make logic for choosing the default execution space happen in CMake, not in the header file ifdefs. Make Tpetra use that choice and be consistent with that choice. |
Per @ambrad 's suggestion, consider memory spaces too. The default memory space could be set separately from the default execution space. Want to static_assert compatibility. |
The original request of printing the configure information is addressed in the pure cmake (but not Tribits) build. It is currently in my cmake branch and will be pulled in with it. |
I think the most recent TriBITS integration with Kokkos CMake seems to satisfy this:
|
During a Trilinos tribits/cmake configure, Tpetra prints some very useful information about enabled nodes types and which one is the default:
-- Tpetra execution space availability (ON means available):
-- - Serial: OFF
-- - Threads: OFF
-- - OpenMP: ON
-- - Cuda: OFF
-- Setting default Node to Kokkos::Compat::KokkosOpenMPWrapperNode.
This exact information would be great to have from the kokkos configure as well for cases where tpetra is not enabled. Could you add message statements to print this information for kokkos during a tribits configure?
The text was updated successfully, but these errors were encountered: