wasm SIMD
This commit is contained in:
parent
99972d8c81
commit
48e3b8e26c
4 changed files with 803 additions and 12 deletions
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue