Skip to content

update for xsimd 13 #2769

@drew-parsons

Description

@drew-parsons

xsimd 12 was recently released. It provides significant improvements in stability on less common architectures such as armhf, and has stabilised handling of batch bools (essentially by not doing it), which is not supported by all architectures.

The batch changes need some updating in xtensor, likely related to #2733

For instance, if the current dependence on xsimd 11 is manually flipped to 12 in CMakeFiles.txt, then xtensor 0.24.7 (patched by #2735) gives the error

/build/xtensor/test/test_xoperation.cpp:372:9:   required from here
/usr/include/xsimd/types/xsimd_traits.hpp:71:43: error: static assertion failed: usage of batch type with unsupported type
   71 |             static_assert(!A::supported() || xsimd::has_simd_register<T, A>::value,
      |                           ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/xsimd/types/xsimd_traits.hpp:71:43: note: ‘((! xsimd::fma3<xsimd::avx2>::supported()) || ((bool)std::integral_constant<bool, false>::value))’ evaluates to false

It would be great if xtensor could be updated for xsimd 12.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions