Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1253 (master broken with Endian_Reverse) #1254

Merged
merged 1 commit into from
Mar 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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