Creating a New OpenCL™ Project from OpenCL Project Template for Windows*
To create an OpenCL™ template project for Windows* platforms in Microsoft Visual Studio* IDE, do the following:
- Go toFile>New>Project...
- Select OpenCL templates from theTemplatestree view.
- SelectCode Builder Project for Windows.
- Fill theName,Location, andSolutionname fields and clickOK.
- In theCode Builder wizard for OpenCL APIdialog, you can select the basic settings for the behavior of the OpenCL application and kernel. The parameters that can be set are platform name, device type, kernel type (images or buffer manipulation), build options, and local work group size behavior. Each field has a short tool-tip explanation.
- ClickFinishto create the default template project or clickNextto open theAdvanced Settingsscreen enabling you to set some advanced options like whether to enable profiling queue and the kernel's arguments memory source type. For CPU device type, you can also set the out-of-order execution mode and debug mode for the kernel.
- ClickFinishto create the default template project or clickPreviousto return theBasic Settingsscreen.