I just started with GPGPU and I’m trying to decide whether to use CUDA or openCL.
I have a ‘GeForce GTX 560’ and running on i7 Intel CPU with enough DDR.
I downloaded the ‘NVIDIA GPU Computing SDK 4.1’ and I run some of the examples form the CUDA samples vs. the openCL samples. All examples show that openCL runs faster. can someone explain this to me? why does same algorithem run faster when under openCL than CUDA? Below are some of the examples, taken directly from the NVIDIA SDK:
Hi Melonakos, the link you posted was very helpful and I found a lot of useful information over there, thanks a lot!
ZHAO Peng, your timings suggest that I have some issue that cause my CUDA versions to run very slow. I am currently investigating this issue. Thank you for that.
Is nVidia GPU performance the key point for choosing between CUDA and Opencl?
I mean, if you are limited to nVidia GPU for your project, don’t plan to use SSE or AVX units on CPU implementations of OpenCL, nor Ivy Bridge GPU, nor even the new AMD Radeon GCN architecture, that is real fast on OpenCL, maybe asking how much performance you will get on OpenCL and CUDA is relevant.
CUDA has some advantages over OpenCL, on performance, features, on nVidia GPU. And have none on any other platform, including real-world performance on complex algorithms!
I think that being slower of maybe 5% or 10% isn’t a problem (on the worst case), since it enable my client to choose between all OpenCL-enabled devices, it wasn’t mandatory last year, but now it is since we could compare architectures and results… (don’t want to promote one brand after another especially in this forum)
According to some benchmark results the performance of AMD’s OpenCL implementation is pretty good. What more important is that AMD is very active on the support of OpenCL. They have released the first OpenCL 1.2 implementation.
However, the quality of AMD 's graphics driver is so poor especially on Linux that I wouldn’t buy their products without very good reason. Besides, AMD should present more clear GPU computing strategy and build the community like Nvidia.