struct pot::HostIsa¶
Overview¶
Extensions of the host CPU that the package ISA tokens refer to, each true only when CPUID reports it and the OS saves its register state. More…
#include <gpr/potentials/AotiPackageIsa.h>
struct HostIsa {
// fields
bool avx2 = false;
bool fma = false;
bool avx512f = false;
bool avx512dq = false;
bool avx512bw = false;
bool avx512vl = false;
bool avx512_vnni = false;
bool avx512_bf16 = false;
bool amx_tile = false;
bool amx_bf16 = false;
bool amx_int8 = false;
// methods
static HostIsa detect();
};
Detailed Documentation¶
Extensions of the host CPU that the package ISA tokens refer to, each true only when CPUID reports it and the OS saves its register state.
Methods¶
static HostIsa detect()
CPUID and XGETBV of the calling host; all false off x86-64.