simde
simde copied to clipboard
Multiple failures when building with Intel CL on Windows
Multiple failures are observed when building simple code with Intel CL. All of them are related to SIMDE_ALIGN_TO* macros which apparently end up undefined. The same code gets built fine with Clang >= 11, any ICX version, or latest MSVC.
I don't really have a good way to reproduce this at the moment so it might be a while before this gets fixed, but if you're interested in putting something together it should be pretty straightforward, and I'd be happy to merge it. In simde-align.h you would just need to add checks using HEDLEY_INTEL_CL_VERSION_CHECK(major, minor, revision)
in a couple locations (searching for MSVC should help). The syntax should be similar to MSVC, though I suspect the implementation will be somewhat less limited (I doubt you'll need to define SIMDE_ALIGN_PLATFORM_MAXIMUM
).