This source file includes following definitions.
- shmem_finalize
1
2
3
4
5
6
7
8
9
10
11 #include "oshmem_config.h"
12
13 #include "opal/runtime/opal_cr.h"
14
15 #include "oshmem/constants.h"
16 #include "oshmem/include/shmem.h"
17 #include "oshmem/runtime/runtime.h"
18
19 #if OSHMEM_PROFILING
20 #include "oshmem/include/pshmem.h"
21 #pragma weak shmem_finalize = pshmem_finalize
22 #include "oshmem/shmem/c/profile/defines.h"
23 #endif
24
25 void shmem_finalize(void)
26 {
27 OPAL_CR_FINALIZE_LIBRARY();
28 oshmem_shmem_finalize();
29 }
30