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

Nicholas Wilson iamthewilsonator at hotmail.com
Wed Jan 19 09:49:59 UTC 2022


On Wednesday, 19 January 2022 at 09:34:38 UTC, Ola Fosheim 
Grøstad wrote:
> If hardware vendors create close source C++ compiler that uses 
> internal knowledge of how their GPUs work, then it might be 
> difficult to compete for other languages. You'd have to compile 
> to metal/vulkan and fine tune it for each GPU.

Arguably that already describes Nvidia. Luckily for us, it has an 
intermediate layer in PTX that LLVM can target, and that's 
exactly what dcompute does. Unlike C++, D can much more easily 
statically condition on aspects of the hardware, making the 
tuning process faster to navigate the parameter configuration 
space.


More information about the Digitalmars-d mailing list