PDA

View Full Version : Any reason to choose CUDA over OpenCL?


alexg
23-Apr-2010, 08:33
I'm just starting to learn OpenCL and wondering if I should be learning CUDA instead or in addition to OpenCL.

I understand that OpenCL is more cross-platform and is supported by both AMD and NVIDIA, and it runs on both CPUs and GPUs.

However, are there reasons to prefer CUDA? Does it have any advantages at this point? It seems that even NVIDIA is subtly pushing developers to OpenCL, judging by the language of their programming guides.

rpg.314
23-Apr-2010, 08:40
If you absolutely must have the features only nv has, then learning CUDA makes sense. Otherwise, I don't see much point.

If you don't know what those features are, then I'd say stick to opencl.

erdooom
26-Apr-2010, 11:56
Actually both are very similar syntax wise. And identical concept wise, so moving code back and forth is very easy. I would start with CUDA as OpenCL is currently very immature, allot of bugs and bad implementations, much less examples and development tools.