• 2017
  • 10/22/2018
  • Public Content
Contents

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:
  1. Go to
    File
    >
    New
    >
    Project...
  2. Select OpenCL templates from the
    Templates
    tree view.
  3. Select
    Code Builder Project for Windows
    .
  4. Fill the
    Name
    ,
    Location
    , and
    Solution
    name fields and click
    OK
    .
  5. In the
    Code Builder wizard for OpenCL API
    dialog, 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.
  6. Click
    Finish
    to create the default template project or click
    Next
    to open the
    Advanced Settings
    screen 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.
    Welcome page, advanced settings pane
  7. Click
    Finish
    to create the default template project or click
    Previous
    to return the
    Basic Settings
    screen.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.