'Detect Apple silicon GPU core count
Similar to this question, I am interested in detecting the exact GPU inside a Mac equipped with Apple silicon.
I am interested in knowing the exact GPU core count.
sysctl -a | grep gpu
or
sysctl -a | grep core
does not seem to provide anything useful.
Solution 1:[1]
To detect GPU core count on Apple Silicon architecture you can use this command:
system_profiler SPDisplaysDataType
Solution 2:[2]
You can use ioreg like this:
ioreg -l | grep gpu-core-count
You can also look up an object with class that's named something like AGXAcceleratorG13X and see all of its properties, gpu-core-count will also be there.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Hamid Yusifli |
| Solution 2 | JustSomeGuy |
