|Home > Developing an OpenCL application > Development stages for OpenCL|
There are several stages to develop an OpenCL application. First, you must determine what you want to parallelize. Then, you must write the kernels. Finally, write infrastructure for the kernels and execute them.
You must perform the following stages to develop and OpenCL application:
The first step when deciding to use OpenCL is to look at what your application does, and identify the parts of the application that can run in parallel. This is often the hardest part of developing an OpenCL application.
OpenCL applications consist of a set of kernel functions. You must write the kernels that perform the computations.
If possible, partition your kernels so that the least amount of data is transferred between them. Loading large amounts of data is often the most expensive part of an operation.