Acceleration of DFT with Apple Silicon

17 views (last 30 days)
Giorgio Taricco
Giorgio Taricco on 9 Jul 2023
Commented: Giorgio Taricco on 13 Jul 2023
Hello,
I would like to know if there is an efficient way to use the Apple Silicon GPU's to calculate a DFT from Matlab and if anybody has compared the performance against the Matlab fft function.
Thank you very much!

Answers (1)

Walter Roberson
Walter Roberson on 9 Jul 2023
You would need to create mex code that used the Apple Metal2 interface to run the calculation on the gpu.
MATLAB does not provide any support for using the Apple Silicon GPU, and is unlikely to add that support for several years.
  6 Comments
Joss Knight
Joss Knight on 13 Jul 2023
I can confirm that we've proved this is possible, but that's about as far as I can go.
Giorgio Taricco
Giorgio Taricco on 13 Jul 2023
Thank you for your reply. Can you tell what is the advantage with respect to the benchmark?

Sign in to comment.

Products


Release

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!