intel / processwatch

GNU General Public License v2.0
120 stars 9 forks source link

`amx_int8` and `amx_bf16` not supported on v1.2 #19

Open koleini opened 1 month ago

koleini commented 1 month ago

The tool (v1.2) is unable to identify recognize the category for amx_int8 and amx_bf16 flags.

grahamwoodward commented 1 month ago

A dup of issue #18 ?

koleini commented 1 month ago

The version v1.2 doesn't include the latest disassembler update and still uses Zydis. It can recognize amx_tile, but not amx_int8 and amx_bf16.

grahamwoodward commented 1 month ago

Ah so it is, my mistake. This could by zydis issue then? Not process watch ? Or did this previously work?

adgubrud commented 2 weeks ago

@koleini @grahamwoodward In the past I've been able to get AMX instruction counts. I was just revisiting this yesterday and found this setup to work.

git clone https://github.com/intel/processwatch.git
cd processwatch
git checkout a9e8f87138efdb4afdd37ea67d8e2ed47438344b
cd deps/bpftool 
git submodule init 
git submodule update --recursive 
git submodule init 
git submodule update --recursive 
cd ../zydis 
git submodule init 
git submodule update --recursive
cd .. 
./build_deps.sh 
cd ..
./build.sh