Vengineerの戯言

人生は短いけど、長いです。人生を楽しみましょう!

IntelがAMXというものを導入

@Vengineerの戯言 : Twitter
SystemVerilogの世界へようこそすべては、SystemC v0.9公開から始まった 

2021年導入の「Sapphire Rapids」にて、AMXを導入するそうな。

既に、エコシステムに対して、パッチを出している模様。

www.phoronix.com

この記事には、AMX (Advanced Matrix Extensions) について、Inel の Reference Guide から引用している。

 

で、その Reference Guide というのが、

Intel® Architecture Instruction Set Extensions and Future Features Programming Reference, 319433-040 JUNE 2020

このドキュメントの

「CHAPTER 3 INTEL® AMX INSTRUCTION SET REFERENCE, A-Z」

に詳細があります。

Figure 3-1. Intel AMX Architecture を見たら、AMXって、Acceleratorなんですね。

2つのAccelerator (TMUL) に TILECFG というレジスタからデータを送り込んで演算して戻すというもの。AI Host ととは別物なんですね。

 

Table 1-3. Information Returned by CPUID Instruction の EDXの

Bit 22: AMX-BF16. If 1, the processor supports tile computational operations on bfloat16 numbers.
Bit 23: Reserved
Bit 24: AMX-TILE. If 1, the processor supports tile architecture.
Bit 25: AMX-INT8. If 1, the processor supports tile computational operations on 8-bit integers.

とあって、何故か?Bit 23 が飛んでいますね。ここには何が来るんでしょうかね?

NVIDIAのAmpereのように、32ビット、64ビット対応ですかね?

 

ということで。。

 になったので、次は、

 ですかね。