nvtop master incl. M2 pr
alexmyczko opened this issue · 2 comments
alexmyczko commented
very nice that nvtop supports GPU of Apple M1/M2 on macOS. when trying to build on asahilinux it fails not finding Metal.h obviously, any chance this could be get to work for asahilinux?
it would fail with:
[ 3%] Building C object src/CMakeFiles/nvtop.dir/extract_gpuinfo_apple.m.o
/scratch/tar/nvtop/nvtop-0+git20240213+ds/src/extract_gpuinfo_apple.m:27:10: fatal error: Metal/Metal.h: No such file or directory
27 | #include <Metal/Metal.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
Syllo commented
Since asahi is running on a Linux kernel, what you should really be using is the regular Linux build.
Although we don't currently have a support for the driver on Linux for mac so nothing would probably show up.