Skip to content

Commit

Permalink
Merge pull request #11 from L2Program/master
Browse files Browse the repository at this point in the history
Master
  • Loading branch information
JossWhittle authored Jul 5, 2016
2 parents baf67c1 + 2006aa4 commit 6efa14a
Show file tree
Hide file tree
Showing 4 changed files with 629 additions and 56 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -243,3 +243,4 @@ pip-log.txt
#Mr Developer
.mr.developer.cfg

*.ipgset
10 changes: 5 additions & 5 deletions MEL.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2432,7 +2432,7 @@ namespace MEL {
* \return Returns a handle to a new Op
*/
template<typename T, T(*F)(T&, T&)>
inline Op CreateOp(bool commute = true) {
inline Op OpCreate(bool commute = true) {
MPI_Op op;
MEL_THROW( MPI_Op_create((void(*)(void*, void*, int*, MPI_Datatype*)) Functor::ARRAY_OP_FUNC<T, F>, commute, (MPI_Op*) &op), "Op::CreatOp" );
return Op(op);
Expand All @@ -2446,7 +2446,7 @@ namespace MEL {
* \return Returns a handle to a new Op
*/
template<typename T, T(*F)(T&, T&, Datatype)>
inline Op CreateOp(bool commute = true) {
inline Op OpCreate(bool commute = true) {
MPI_Op op;
MEL_THROW( MPI_Op_create((void(*)(void*, void*, int*, MPI_Datatype*)) Functor::ARRAY_OP_FUNC<T, F>, commute, (MPI_Op*) &op), "Op::CreatOp" );
return Op(op);
Expand All @@ -2460,7 +2460,7 @@ namespace MEL {
* \return Returns a handle to a new Op
*/
template<typename T, void(*F)(T*, T*, int)>
inline Op CreateOp(bool commute = true) {
inline Op OpCreate(bool commute = true) {
MPI_Op op;
MEL_THROW( MPI_Op_create((void(*)(void*, void*, int*, MPI_Datatype*)) Functor::ARRAY_OP_FUNC<T, F>, commute, (MPI_Op*) &op), "Op::CreatOp" );
return Op(op);
Expand All @@ -2474,7 +2474,7 @@ namespace MEL {
* \return Returns a handle to a new Op
*/
template<typename T, void(*F)(T*, T*, int, Datatype)>
inline Op CreateOp(bool commute = true) {
inline Op OpCreate(bool commute = true) {
MPI_Op op;
MEL_THROW( MPI_Op_create((void(*)(void*, void*, int*, MPI_Datatype*)) Functor::ARRAY_OP_FUNC<T, F>, commute, (MPI_Op*) &op), "Op::CreatOp" );
return Op(op);
Expand All @@ -2488,7 +2488,7 @@ namespace MEL {
* \return Returns a handle to a new Op
*/
template<typename T, void(*F)(T*, T*, int*, MPI_Datatype*)>
inline Op CreateOp(bool commute = true) {
inline Op OpCreate(bool commute = true) {
MPI_Op op;
MEL_THROW( MPI_Op_create((void(*)(void*, void*, int*, MPI_Datatype*)) F, commute, (MPI_Op*) &op), "Op::CreatOp" );
return Op(op);
Expand Down
Loading

0 comments on commit 6efa14a

Please sign in to comment.