This source file includes following definitions.
- oshmem_group_cache_enabled
1
2
3
4
5
6
7
8
9
10 #ifndef _PROC_GROUP_CACHE_H
11 #define _PROC_GROUP_CACHE_H
12
13 #include "oshmem_config.h"
14 #include "proc.h"
15
16 #define OSHMEM_GROUP_CACHE_ENABLED 1
17
18 BEGIN_C_DECLS
19
20
21
22
23
24
25
26
27
28
29
30 int oshmem_group_cache_init(void);
31 void oshmem_group_cache_destroy(void);
32
33 oshmem_group_t* oshmem_group_cache_find(int pe_start, int pe_stride, int pe_size);
34
35 int oshmem_group_cache_insert(oshmem_group_t *group, int pe_start,
36 int pe_stride, int pe_size);
37
38 static inline int oshmem_group_cache_enabled(void)
39 {
40 return OSHMEM_GROUP_CACHE_ENABLED;
41 }
42
43 END_C_DECLS
44
45 #endif