Hacker News new | past | comments | ask | show | jobs | submit login

You write OpenCL if you want to target anything other than AMD/NVIDIA/Intel. If you're writing code for an embedded application (with some heterogeneous core), or for a mobile application, you absolutely have to write OpenCL code, as there's no alternative. OpenCL is shit, but it's cross platform shit.

If your aim is to get 100% performance in a GPU heavy cluster, then sure, you're going to need to write CUDA code, and buy some NVIDIA GPUS, however there are a lot of applications which run in entirely different environments which _only_ support OpenCL.




> for a mobile application

Not really, OpenCL doesn't have any real foot on mobile.

Android uses their own Renderscript dialect instead of OpenCL and iOS moving away from OpenCL to Metal Compute.

And the dying WP uses C++ AMP.


Yes, but Vulkan will change that since it is an API designed for graphics and compute.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: