Most practical way to speed up calculations?
Show older comments
How much faster is the second scenario compared to the first?:
- 2015 15" MacBook Pro, 2.2 GHz Quad-Core Intel Core i7, 16 GB 1600 MHz DDR3 running 4 workers in parallel on a optimization problem.
- 2023 16" MacBook Pro with 12 core CPU, 38 core GPU, 32GB Unified Memory running maximum supported workers in parallel on the same problem.
I am aware that the M2 is running via Rosetta; a beta native version is in release but I don't know if it's reliable.
I'd hate to spend the money on a new laptop then find that it only runs twice as fast or so. I need to see at least a 4x speed increase to justify the expenditure. (fyi, I have optimized everything I can e.g. vectorization etc already).
Thanks
4 Comments
Walter Roberson
on 20 Feb 2023
The GPU is not going to be relevant, except in the sense that the display generation is going to be off-loaded to the GPU by Apple. Not relevant in the sense that MATLAB will not use the GPU (except indirectly by making graphics requests.) gpuarray and other parallel forms are not supported on any current Apple release, and as best I can tell, Mathworks is not working to implement GPU access for the M* series GPU.
Kevin Johnson
on 20 Feb 2023
Kevin Johnson
on 20 Feb 2023
Walter Roberson
on 20 Feb 2023
Or Windows I suppose...
Accepted Answer
More Answers (0)
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!