Re:Contrasting Intel AMX and Apple AMX
by corsix on Monday September 05, 2022 @05:19PM
(#32729612)
The elephant in the room contrast: Apple has been shipping this for years, whereas Intel _might_ ship theirs in something later this year.
[ Parent
| on HN ]
Re:Contrasting Intel AMX and Apple AMX
by blinkingled on Tuesday September 06, 2022 @12:09AM
(#32732725)
> Note that these instructions are neither documented nor supported by Apple.
What does that mean? Someone pointed out below Apple ships accelerate framework as a higher level supported mechanism to use these instructions?
Intel/AMD have been always good at documenting most of their stuff so perhaps we will see proper supported ones whenever Intel ships it.
Re:Contrasting Intel AMX and Apple AMX
by fredoralive on Tuesday September 06, 2022 @07:05AM
(#32735426)
I think they mean that using the raw instructions is unsupported and undocumented, officially you have to use the libraries as the interface to them.
Re:Contrasting Intel AMX and Apple AMX
by cyber_kinetist on Tuesday September 06, 2022 @08:16AM
(#32736070)
Though in reality nobody is stopping you from using those undocumented instructions. If Apple’s Accelerate framework can use it so do you. (Or is it against the EULA?…) There is a slim chance that the behavior of these instructions might change with a software (if Apple is doing any kind of microcode update), but I kinda doubt it.
They've had something similar off-core with GNA since 2019 10th gen Ice Lake for low-power always-on inference use-cases.
Re:Contrasting Intel AMX and Apple AMX
by smoldesu on Monday September 05, 2022 @05:25PM
(#32729674)
Hasn't Intel been shipping scalar instructions for more than a decade?
Re:Contrasting Intel AMX and Apple AMX
by colejohnson66 on Monday September 05, 2022 @07:49PM
(#32730842)
You’re probably thinking of AVX, Advanced Vector Extensions. That’s a family of vector extensions that has been out for just over a decade (2011). This is about AMX, Advanced Matrix Extensions. AMX is, as the name implies, built around 2D INT8/BF16 matrices (not “1D” FP16/32/64 vectors). It’s not on silicon available to the public.
Also not to be be confused with VMX (AltiVec/Velocity Engine), which predates AVX by another decade or so.
To keep the record straight, we have: 1. AMX, 2. AVX, and 3. VMX.
Re:Contrasting Intel AMX and Apple AMX
by colejohnson66 on Tuesday September 06, 2022 @10:53AM
(#32737883)
There’s also Intel VMX, the Virtual Machine Extensions ;) Sometimes it’s referred to as VT-x.
Intel's AMX specifically hasn't yet shipped, but will be coming with their new Sapphire Rapids Xeon chips this year.