问题
I want to learn gpu parallel programming in C/C++. What Library and compiler should I use. If they are opensource, that would be nice. note: I have some practice with openmp and mpi. Though it is only for cpu parallel programming.
回答1:
I depends on you GPU.
OpenCL
It is open source and works on Nvidia and AMD cards.
https://www.khronos.org/opencl/
CUDA
Propriety NVidia solution for parallel programming. Optimized for their cards.
http://www.nvidia.com/object/cuda_home_new.html
来源:https://stackoverflow.com/questions/44818090/gpu-parallel-programming-c-c