philipturner / applegpuinfo

Print all known information about the GPU on Apple-designed chips
MIT License
62 stars 8 forks source link

M3 Max #4

Open schwa opened 1 year ago

schwa commented 1 year ago

swift run gpuinfo list Building for debugging... Build complete! (0.09s) GPU name: Apple M3 Max GPU vendor: Apple GPU core count: 40 GPU clock frequency: 1.398 GHz GPU bandwidth: 409.6 GB/s GPU FLOPS: 14.316 TFLOPS GPU IPS: 7.158 TIPS GPU system level cache: 48 MB GPU memory: 64 GB GPU family: Apple 8

philipturner commented 12 months ago

I'm not sure the clock speeds are correct for this architecture yet. Could you run sudo powermetrics gpu_power --sample_rate 500 and report the results in a text file?

schwa commented 12 months ago

Also Apple 8 is wrong according to metal tables. Possibly because Xcode 15.10b2 is missing .apple8 in the enum?

power.txt

schwa commented 12 months ago

Here's a more focused command: sudo powermetrics --samplers gpu_power --sample-rate 500 --output-file /tmp/gpu_power.txt

gpu_power.txt

philipturner commented 12 months ago

Have you double-checked whether it's in low-power mode? These clock speeds are news to me:

CPU: 3.6 GHz -> 4.05 GHz GPU: 1.398 GHz -> 1.380 GHz

philipturner commented 12 months ago

Also, following the Apple developer video, I need to correct this generation's TFLOPS and IPS to "unknown".

philipturner commented 7 months ago

@schwa would you mind running the test with the latest version of applegpuinfo?

samwich commented 1 month ago

swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)

GPU name: Apple M3 Max GPU vendor: Apple GPU core count: 30 GPU clock frequency: 1.38 GHz GPU bandwidth: 307.2 GB/s GPU FLOPS: 10.598 TFLOPS GPU IPS: 10.598 TIPS GPU system level cache: 48 MB GPU memory: 36 GB GPU family: Apple 9

schwa commented 1 month ago

GPU name: Apple M3 Max GPU vendor: Apple GPU core count: 40 GPU clock frequency: 1.38 GHz GPU bandwidth: 409.6 GB/s GPU FLOPS: 14.131 TFLOPS GPU IPS: 14.131 TIPS GPU system level cache: 48 MB GPU memory: 64 GB GPU family: Apple 9

philipturner commented 1 month ago

Thanks. I'll get around to upstreaming these results when I have the time for it.