Scientific computing and parallel computing C++23/C++26

Nicholas Wilson iamthewilsonator at hotmail.com
Fri Jan 14 01:39:32 UTC 2022


On Thursday, 13 January 2022 at 22:27:27 UTC, Ola Fosheim Grøstad 
wrote:
> Are there some performance benchmarks on modest hardware? (e.g. 
> a standard macbook, imac or mac mini) Benchmarks that compares 
> dcompute to CPU with auto-vectorization (SIMD)?

Part of the difficulty with that, is that it is an apples to 
oranges comparison. Also I no longer have hardware that can run 
dcompute, as my old windows box (with intel x86 and OpenCL 2.1 
with an nvidia GPU) died some time ago.

Unfortunately Macs and dcompute don't work very well. CUDA 
requires nvidia, and OpenCL needs the ability to run SPIR-V 
(clCreateProgramWithIL call) which requires OpenCL 2.x which 
Apple do not support. Hence why supporting Metal was of some 
interest. You might in theory be able to use PoCL or intel based 
OpenCL runtimes but I don't have an intel mac anymore and I 
haven't tried PoCL.




More information about the Digitalmars-d mailing list