The dispatcher makes sure that they don’t overwrite each other. For instance, there might be the AMD CPU runtime and an NVIDIA GPU runtime installed at the same time. The dispatch library is necessary as there is typically more than one runtime present on a machine. The runtime installs two things: First, a dispatch library and then the actual runtime containing the implementation. For Mac OS X, OpenCL is already part of the system, so there is nothing to install there. OpenCL comes as a runtime environment and has to be installed on your target machine, no matter if you are using Windows or Linux. The second part covers how to run a simple kernel, and the third part does a slightly more complicated example where an image is processed.įirst of all, a quick overview of how OpenCL actually works. You should fetch the corresponding code to follow along easily. In this part, we’ll prepare everything so we can actually use OpenCL. You can find the complete source code in my Git repository. We’ll be building a small example application with OpenCL which will eventually be able to apply a blur filter on an image. I assume that you are a developer, you know what OpenCL is and you want to get up to speed quickly. Welcome to a short series on how to get started with OpenCL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |