Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvtop master incl. M2 pr #269

Open
alexmyczko opened this issue Feb 13, 2024 · 2 comments
Open

nvtop master incl. M2 pr #269

alexmyczko opened this issue Feb 13, 2024 · 2 comments

Comments

@alexmyczko
Copy link

alexmyczko commented Feb 13, 2024

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
Copy link
Owner

Syllo commented Feb 23, 2024

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.

@alexmyczko
Copy link
Author

waiting for https://github.com/eiln/ane

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants