photon
1.1
photon
include
photon_atomics.h
Go to the documentation of this file.
1
// =============================================================================
2
// Photon RDMA Library (libphoton)
3
//
4
// Copyright (c) 2016, Trustees of Indiana University,
5
// All rights reserved.
6
//
7
// This software may be modified and distributed under the terms of the BSD
8
// license. See the COPYING file for details.
9
//
10
// This software was created at the Indiana University Center for Research in
11
// Extreme Scale Technologies (CREST).
12
// =============================================================================
13
14
#ifndef PHOTON_ATOMICS_H
15
#define PHOTON_ATOMICS_H
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
typedef
enum
{
22
PHOTON_ATOMIC_MIN
= 1,
23
PHOTON_ATOMIC_MAX
,
24
PHOTON_ATOMIC_SUM
,
25
PHOTON_ATOMIC_LAST
,
26
PHOTON_ATOMIC_FADD
,
27
PHOTON_ATOMIC_CSWP
28
}
photon_atomic_op
;
29
33
35
36
// TBD
37
//int photon_atomic(int proc, photonBuffer lbuf, photonBuffer rbuf, photon_datatype datatype,
38
// photon_atomic_op op, photon_rid local, photon_rid remote, int flags);
39
41
42
#ifdef __cplusplus
43
}
44
#endif
45
46
#endif
PHOTON_ATOMIC_CSWP
Definition:
photon_atomics.h:27
PHOTON_ATOMIC_MAX
Definition:
photon_atomics.h:23
PHOTON_ATOMIC_MIN
Definition:
photon_atomics.h:22
photon_atomic_op
photon_atomic_op
Definition:
photon_atomics.h:21
PHOTON_ATOMIC_FADD
Definition:
photon_atomics.h:26
PHOTON_ATOMIC_LAST
Definition:
photon_atomics.h:25
PHOTON_ATOMIC_SUM
Definition:
photon_atomics.h:24
Generated on Tue Jan 2 2018 13:33:59 for photon by
1.8.13