Accelerating Standard C++ with GPUs Using stdpar

Originally published at: https://developer.nvidia.com/blog/accelerating-standard-c-with-gpus-using-stdpar/

Historically, accelerating your C++ code with GPUs has not been possible in Standard C++ without using language extensions or additional libraries: CUDA C++ requires the use of host and device attributes on functions and the triple-chevron syntax for GPU kernel launches.OpenACC uses #pragmas to control GPU acceleration.Thrust lets you express parallelism portably but uses language…