![]() The architecture AMD/ATI-hardware is very different from NVidia’s and that’s why a kernel written with a specific brand or GPU in mind just performs better than a version which is not optimised. The specialised streaming processors NVidia’s Tesla and AMD’s FireStream really bite each other, while the Playstation 3 unbelievably still wins on some tasks. On ATI 4000-series OpenCL is just slow, but gives very comparable to NVidia if compared to the 5000-series. On NVidia hardware, OpenCL is up to 10% slower (see Matt Harvey’s presentation) this is mainly because OpenCL is implemented on top of CUDA-architecture (this shouldn’t be a reason, but to say NVidia has put more energy in CUDA is just a wild guess also). Below information is what we’ve found on the net and a little bit based on our own experience. We would like to present you a benchmark between OpenCL and CUDA with full comparison, but we don’t have enough hardware in-house to do a full benchmark. It is very clear CUDA targets the GPU only, while in OpenCL it an be any device.Įdit : In a talk by Sami Rosendahl the differences are also discussed. ![]() Personally I like Cuda’s terms “thread” and “per-block memory” more. Matt Harvey (developer of Cuda2OpenCL-translator Swan ) has summed up the differences in a presentation “ Experiences porting from CUDA to OpenCL ” (PDF): CUDA termĪs far as I know, the kernel-program is also called a kernel in OpenCL. If you have seen kernels of OpenCL and CUDA, you see the biggest difference might be the prefix “cl_” or the prefix “cu_”, but there is also a difference in terminology. We’ve discussed this difference in a with a focus on marketing earlier this year.ĭisclaimer: we have a strong focus on OpenCL (but actually for reasons explained in this article). Since the technologies will evolve, we’ll take a look at the differences again next year. Both techniques are very comparable like a BMW and a Mercedes, but there are some differences. While there are more solutions, these have the most potential. Most GPGPU-enthusiasts have heard of both OpenCL and CUDA. THIS ARTICLE IS VERY OUTDATED AND NOW SIMPLY UNTRUE FOR CERTAIN PARTS! NEW ARTICLE COMING UP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |