How to configure OpenCL in visual studio2010 for nvidia's gpu on windows?

折月煮酒 提交于 2019-12-21 20:44:59

问题


I am using NVIDIA's GeForce GTX 480 GPU on Wwindows 7 operating system on my ASUS laptop. I have already configured Visual Studio 2010 for CUDA 4.2. How to configure OpenCL for nvidia's gpu on visual studio 2010?? Have tries every possible way.

Is it possible by any way to use 'CUDA toolkit (CUDA 4.2)' and 'nvidia's gpu computing sdk' to program OpenCL? If yes then How? If no then what is other way?


回答1:


Yes. You should be able to use Visual Studio 2010 to program for OpenCL. It should simply be a case of making sure that you have the right include directories and libraries setup.

Take a look at this site from this thread on how to setup your VS2010 solution for OpenCL.




回答2:


The updated SDK can be found at: https://developer.nvidia.com/cuda-downloads (various platforms, including windows 8)



来源:https://stackoverflow.com/questions/12918320/how-to-configure-opencl-in-visual-studio2010-for-nvidias-gpu-on-windows

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