Commit 5ad3be7
committed
feat: Support Intel AMX
Intel AMX was introduced in Intel Sapphire Rapids and stands for
Advanced Matrix Extensions that accelerates deep learning and artificial
intelligence workloads. Since it requires larger area to save its state,
the TILEDATA feature is disabled by default. We enable it by default
because it can be disabled via CPU template. Otherwise, kernels prior to
v6.4 have a bug where KVM_GET_SUPPORTED_CPUID returns an inconsistent
state of TILECFG enabled but TILEDATA disabled by default, causing
guest's #GP fault on xsetbv instruction.
Signed-off-by: Takahiro Itazuri <[email protected]>1 parent d6a52b8 commit 5ad3be7
3 files changed
+345
-1
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
0 commit comments