simde icon indicating copy to clipboard operation
simde copied to clipboard

Multiple failures when building with Intel CL on Windows

Open temerkhanov opened this issue 3 years ago • 1 comments

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.

temerkhanov avatar Apr 19 '21 12:04 temerkhanov

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).

nemequ avatar Apr 27 '21 01:04 nemequ