#ifndef SCANN_UTILS_INTRINSICS_AMX_H_
#define SCANN_UTILS_INTRINSICS_AMX_H_
#include "scann/utils/intrinsics/avx512.h"
#include "scann/utils/intrinsics/flags.h"
#ifdef __x86_64__
namespace research_scann {
namespace amx {
static constexpr PlatformGeneration kPlatformGeneration = kSapphireRapidsAmx;
SCANN_INLINE string_view SimdName() { return "AMX"; }
SCANN_INLINE bool RuntimeSupportsSimd() { return RuntimeSupportsAmx(); }
template <typename T, size_t... kTensorNumRegisters>
using Simd = Avx512<T, kTensorNumRegisters...>;
template <typename T, size_t kTensorNumElements0, size_t... kTensorNumElements>
using SimdFor = Avx512For<T, kTensorNumElements0, kTensorNumElements...>;
using Zeros = Avx512Zeros;
using Uninitialized = Avx512Uninitialized;
} }
#endif
#endif