Skip to content

Commit 6c1e9f7

Browse files
authored
Merge pull request #11292 from lrbison/btl_ofi_ops
opal/mca/btl/ofi: Support full set of BTL ops
2 parents dd8f6e3 + 6c206f7 commit 6c1e9f7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

opal/mca/btl/ofi/btl_ofi_atomics.c

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,23 @@ static inline int to_fi_op(mca_btl_base_atomic_op_t op)
2121
return FI_SUM;
2222
case MCA_BTL_ATOMIC_SWAP:
2323
return FI_ATOMIC_WRITE;
24+
case MCA_BTL_ATOMIC_MAX:
25+
return FI_MAX;
26+
case MCA_BTL_ATOMIC_MIN:
27+
return FI_MIN;
28+
case MCA_BTL_ATOMIC_LAND:
29+
return FI_LAND;
30+
case MCA_BTL_ATOMIC_AND:
31+
return FI_BAND;
32+
case MCA_BTL_ATOMIC_LOR:
33+
return FI_LOR;
34+
case MCA_BTL_ATOMIC_OR:
35+
return FI_BOR;
36+
case MCA_BTL_ATOMIC_LXOR:
37+
return FI_LXOR;
38+
case MCA_BTL_ATOMIC_XOR:
39+
return FI_BXOR;
40+
2441
default:
2542
BTL_ERROR(("Unknown or unsupported atomic op."));
2643
MCA_BTL_OFI_ABORT();

0 commit comments

Comments
 (0)