Selecting Memory Options

You can change memory options of buffers or images using Kernel Development Framework. Refer to the relevant sections of this guide for guidelines on creating or editing variables.

Note

You are not limited in selecting options. Avoid selecting the option combinations that are forbidden by the OpenCL™ 1.2 specification, otherwise you may encounter errors upon analysis.

To choose buffers and images memory options, do the following:

  1. Open the variable properties by right-clicking an image or buffer variable in the Code Builder Variable Management window and selecting Edit Variable.
  2. Open the Memory flags to use box.

  3. Select the appropriate options and click Done.

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