Skip to content

Commit

Permalink
Merge pull request #1254 from germasch/fix_endian_reverse
Browse files Browse the repository at this point in the history
Fixes #1253 (master broken with Endian_Reverse)
  • Loading branch information
williamfgc authored Mar 5, 2019
2 parents 7273c70 + f8963a4 commit 38ffd40
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion source/adios2/helper/adiosMemory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void CopyPayloadStride(const char *src, const size_t payloadStride, char *dest,
CopyEndianReverse<T>(src, payloadStride, reinterpret_cast<T *>(dest)); \
}

ADIOS2_FOREACH_PRIMITIVE_TYPE_1ARG(declare_type)
ADIOS2_FOREACH_PRIMITIVE_STDTYPE_1ARG(declare_type)
#undef declare_type
}
else
Expand Down Expand Up @@ -286,5 +286,10 @@ void CopyPayload(char *dest, const Dims &destStart, const Dims &destCount,
}
}

#ifdef ADIOS2_HAVE_ENDIAN_REVERSE
template void CopyEndianReverse(const char *src, const size_t payloadStride,
char *dest);
#endif

} // end namespace helper
} // end namespace adios2

0 comments on commit 38ffd40

Please sign in to comment.