Configuring Build Options

Open the Session Options menu via selecting Tools > Intel Code Builder for OpenCL API > OpenCL Kernel Development > Session Options.

The Build Options tab provides several configuration options.

Enter preprocessor and compiler options in the OpenCL Options text box, or click the ... button to configure the settings in the OpenCL Compiler Options dialog box. The options that you set are added to the Options String text box at the bottom of the dialog.

Target Build Architecture group box enables:

  • Using the current platform architecture.
  • Configuring the build architecture manually by unchecking the Use current platform architecture check box, and selecting:
    • Target operating system:
      • Current Operating System
    • Target instruction set:
      • Streaming SIMD Extension 4.2 (SSE4.2)
      • Advanced Vector Extension (AVX)
      • Advanced Vector Extension 2 (AVX2)

Changing the Target Build Architecture options enables viewing assembly code of different instruction set architectures and generating program binaries for different hardware platforms.


Target Build Architecture options are available for the CPU device only.

For more complete information about compiler optimizations, see our Optimization Notice.