• 2019 Update 4
  • 03/20/2019
  • Public Content

Why Optimizing Kernel Code Is Important?

An issued kernel is called many times by the OpenCL™ run-time. Therefore optimizing the kernel can bring a substantional benefit. If you move something out of the innermost loop in a typical native code, move it from the kernel as well. For example:
  • Edge detection
  • Constant branches
  • Variable initialization
  • Variable casts

Product and Performance Information


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