Revision 1ae1b3cf29511f157f8a07b1711961180c729d8e authored by Andrew M. Bradley on 18 October 2021, 20:00:17 UTC, committed by Andrew M. Bradley on 18 October 2021, 20:00:17 UTC
When multiple components use Kokkos, we need to be careful about initializing
and finalizing Kokkos. Each can occur only once, and finalization must occur
after the last component using Kokkos has deallocated its views.

This commit modifies cime_comp_mod to finalize components in the opposite order
that it initializes them. Then a component can use is_initialized to determine
if it is in charge of initializing and finalizing Kokkos. In this commit, I've
modified SL transport to follow this pattern.
1 parent 55d0464
History
File Mode Size
checkout.sh -rwxr-xr-x 156 bytes
config.yml -rw-r--r-- 353 bytes
container.sh -rwxr-xr-x 241 bytes
run.sh -rwxr-xr-x 1.5 KB
setup.sh -rwxr-xr-x 573 bytes

back to top