wasm SIMD

This commit is contained in:
Jorijn van der Graaf 2026-05-18 05:23:49 +02:00
commit 48e3b8e26c
4 changed files with 803 additions and 12 deletions

View file

@ -28,10 +28,8 @@ namespace Crafter {
return degrees * (std::numbers::pi / 180);
}
#ifdef __x86_64
#ifndef __AVX512FP16__
#if (defined(__x86_64) && !defined(__AVX512FP16__)) || !defined(__FLT16_MAX__)
export template <std::uint32_t Len, std::uint32_t Packing>
using VectorF16 = VectorF32<Len, Packing>;
#endif
#endif
}