This was initially used internally, so it's pretty unfriendly.
The best way to use this module would be:
CPUINFOinfo; // Important to let the struct init to zero!getLeaves(info); // Get maximum CPUID leaves (mandatory step before info)getInfo(info); // Fill CPUINFO structure (optional)
Then checking the corresponding field:
if (info.extensions.amx.xfd) {
// Intel AMX with AMX_XFD is available
} else {
// Feature unavailable
}
See the CPUINFO structure for available fields.
To further understand these fields, it's encouraged to consult the technical manual.
x86 CPU Identification tool
This was initially used internally, so it's pretty unfriendly.
The best way to use this module would be:
Then checking the corresponding field:
See the CPUINFO structure for available fields.
To further understand these fields, it's encouraged to consult the technical manual.