HiRep
0.1
Loading...
Searching...
No Matches
geometry_fuse.h
Go to the documentation of this file.
1
6
#ifndef GEOMETRY_FUSE_H
7
#define GEOMETRY_FUSE_H
8
9
#include "
geometry_omp.h
"
10
11
#define _FUSE_IDX(type, is) int is = (type)->fuse_mask[_fuse_master_for_ip_##is]
12
13
#define _FUSE_MASTER_FOR(type, is) _FUSE_MASTER_FOR_RED(type, is, nowait, )
14
#define _FUSE_MASTER_FOR_SUM(type, is, ...) _FUSE_MASTER_FOR_RED(type, is, _omp_sum(__VA_ARGS__), )
15
#define _FUSE_MASTER_FOR_MAX(type, is, ...) _FUSE_MASTER_FOR_RED(type, is, _omp_max(__VA_ARGS__), )
16
#define _FUSE_MASTER_FOR_MIN(type, is, ...) _FUSE_MASTER_FOR_RED(type, is, _omp_min(__VA_ARGS__), )
17
18
#endif
geometry_omp.h
This file contains useful macros that perform OpenMP reduction operations and are necessary to define...
Include
Geometry
geometry_fuse.h
Generated by
1.12.0