source: CIVL/include/headers/op.h@ 1aaefd4

main test-branch
Last change on this file since 1aaefd4 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 814 bytes
Line 
1#ifndef _OP_
2#define _OP_
3// Operation for collective reductions or collective operations
4// Note: The order of following operations are consistent with CIVL implementations,
5// it's not recommended to change the order.
6typedef enum Operation{
7 _NO_OP, // no operation
8 _MAX, // maxinum
9 _MIN, // minimun
10 _SUM, // sum
11 _PROD, // product
12 _LAND, // logical and
13 _BAND, // bit-wise and
14 _LOR, // logical or
15 _BOR, // bit-wise or
16 _LXOR, // logical exclusive or
17 _BXOR, // bit-wise exclusive or
18 _MINLOC, // min value and location
19 _MAXLOC, // max value and location
20 _REPLACE, // replace ? TODO: Find definition for this operation
21 _EQ, // Equal to (Fortran OpenMP only)
22 _NEQ, // Not Equal to (Fortran OpenMP only)
23}Operation;
24
25typedef enum Operation $operation;
26
27#endif
Note: See TracBrowser for help on using the repository browser.