Skip to content

Commit

Permalink
Excluding long double from metadata needed by PGI compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
anagainaru committed Feb 17, 2023
1 parent 7b1f40a commit 417fa73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/adios2/helper/adiosMath.cpp
Expand Up @@ -37,7 +37,8 @@ ADIOS2_FOREACH_PRIMITIVE_STDTYPE_1ARG(declare_type)
template <typename T>
void GetGPUMinMax(const T *values, const size_t size, T &min, T &max) noexcept
{
helper::GPUMinMax(values, size, min, max);
if (!std::is_same<T, long double>::value)
helper::GPUMinMax(values, size, min, max);
}
#endif

Expand Down

0 comments on commit 417fa73

Please sign in to comment.