質問

Can I code my OpenCL application on an Nvidia GPU by installing ATI Stream SDK (as it will allow me to accelerate my CPU too which Nvidia programming SDK won't) ?

役に立ちましたか?

解決

You can have more than one platform (meaning: OpenCL implementation) installed on a machine. So even if you have a NVIDIA GPU, you can use the AMD OpenCL implementation for CPUs (or the Intel OpenCL SDK if you have an Intel CPU). However you can't use the AMD OpenCL implementation to run code on the NVIDIA GPU.

With this small utility lib you can easily select which implementation/platform to use: http://www.thebigblob.com/opencl-utilities/

他のヒント

Yes, you can use the AMD SDK to build the host program and then target as many different devices as you want - CPU, NVIDIA GPU, whatever. But make sure you have separate versions of your OpenCL code that are optimized for each device.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top