x86v3
This commit is contained in:
parent
143b71eeb9
commit
a16f8ffbde
7 changed files with 251 additions and 133 deletions
|
|
@ -6,15 +6,19 @@ export module Crafter.Math:Common;
|
|||
import std;
|
||||
|
||||
namespace Crafter {
|
||||
#ifdef __AVX512FP16__
|
||||
export template <std::uint8_t Len, std::uint8_t Packing>
|
||||
struct VectorF16;
|
||||
#endif
|
||||
export template <std::uint8_t Len, std::uint8_t Packing>
|
||||
struct VectorF32;
|
||||
|
||||
template <std::uint8_t Len, std::uint8_t Packing, typename T>
|
||||
struct VectorBase {
|
||||
#ifdef __AVX512FP16__
|
||||
template <std::uint8_t L, std::uint8_t P>
|
||||
friend struct VectorF16;
|
||||
#endif
|
||||
template <std::uint8_t L, std::uint8_t P>
|
||||
friend struct VectorF32;
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue