HiRep 0.1
Loading...
Searching...
No Matches
geometry_fuse.h File Reference

FIXME: Add docs. More...

#include "geometry_omp.h"
Include dependency graph for geometry_fuse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _FUSE_IDX(type, is)
 
#define _FUSE_MASTER_FOR(type, is)
 
#define _FUSE_MASTER_FOR_SUM(type, is, ...)
 
#define _FUSE_MASTER_FOR_MAX(type, is, ...)
 
#define _FUSE_MASTER_FOR_MIN(type, is, ...)
 

Detailed Description

FIXME: Add docs.

Macro Definition Documentation

◆ _FUSE_IDX

#define _FUSE_IDX ( type,
is )
Value:
int is = (type)->fuse_mask[_fuse_master_for_ip_##is]

◆ _FUSE_MASTER_FOR

#define _FUSE_MASTER_FOR ( type,
is )
Value:
_FUSE_MASTER_FOR_RED(type, is, nowait, )
#define _FUSE_MASTER_FOR_RED(type, is, redop1, redop2)
Fuse reduce on the whole local lattice TODO: more desc.
Definition geometry_omp.h:152

◆ _FUSE_MASTER_FOR_MAX

#define _FUSE_MASTER_FOR_MAX ( type,
is,
... )
Value:
_FUSE_MASTER_FOR_RED(type, is, _omp_max(__VA_ARGS__), )

◆ _FUSE_MASTER_FOR_MIN

#define _FUSE_MASTER_FOR_MIN ( type,
is,
... )
Value:
_FUSE_MASTER_FOR_RED(type, is, _omp_min(__VA_ARGS__), )

◆ _FUSE_MASTER_FOR_SUM

#define _FUSE_MASTER_FOR_SUM ( type,
is,
... )
Value:
_FUSE_MASTER_FOR_RED(type, is, _omp_sum(__VA_ARGS__), )