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
.circleci
cime @ a26c8e3
cime_config
components
driver-mct
driver-moab
externals
share
.gitignore -rw-r--r-- 253 bytes
.gitmodules -rw-r--r-- 1.8 KB
CONTRIBUTING.md -rw-r--r-- 1.7 KB
LICENSE -rw-r--r-- 5.3 KB
README.md -rw-r--r-- 3.3 KB
codemeta.json -rw-r--r-- 504 bytes
run_e3sm.template.sh -rwxr-xr-x 12.9 KB

README.md

back to top