GPU parallel programming C/C++ [closed]

匆匆过客 提交于 2019-12-11 06:38:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!