Ola Fosheim Grøstad:

Compiler support with futures could be useful, e.g. write D futures and let the compiler generate CUDA and OpenCL, while having a fall-back branch for the CPU in case the GPU is
unavailable/slow.

Could be of interest, to ease the porting of C++ code to Cuda:
http://www.alexstjohn.com/WP/2014/01/16/porting-cuda-6-0/

Buye,
bearophile

Reply via email to