Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

What's New? OpenCL™ Runtime 16.1.2 (CPU only)

$
0
0

The 16.1.2 release update includes:

  •  New optional __attribute__((intel_vec_len_hint(<uint>)))
    • This attribute can be used to provide a hint to the compiler that the kernel will perform best if vectorized to the specified vector length.
    • You can specify one of the following lengths for this attribute: 
      uintDescription
      0The compiler uses heuristics to decide whether to vectorize the kernel,
      and if so, which vector length to use. This is the default behavior.
      1No vectorization is performed by the compiler. Explicit vector data types
      in kernels are left intact.
      4Disables heuristics and vectorizes to the length of 4 respectively.
      8Disables heuristics and vectorizes to the length of 8 respectively.
  • New OpenCL™ C predefined macro __INTEL_OPENCL_CPU_<CPUSIGN>
    • This macro can be used to fine tune the kernel for a specific CPU device microarchitecture. <CPUSIGN> is the CPU signature of a device.
    • You can specify one of the following values for this macro:
      Macro Intel Microarchitectures
      __INTEL_OPENCL_CPU_SKL__Intel® microarchitecture code name Skylake
      __INTEL_OPENCL_CPU_SKX__Intel® microarchitecture code name
      Skylake on Intel Xeon® processor family
      __INTEL_OPENCL_CPU_BDW__Intel® microarchitecture code name
      Broadwell
      __INTEL_OPENCL_CPU_BDW_XEON__Intel® microarchitecture code name Broadwell on Intel Xeon® processor family
      __INTEL_OPENCL_CPU_HSW__Intel® microarchitecture code name Haswell
      __INTEL_OPENCL_CPU_HSW_XEON__Intel® microarchitecture code name Haswell on Intel Xeon® processor family
      __INTEL_OPENCL_CPU_IVB__Intel® microarchitecture code name Ivy Bridge
      __INTEL_OPENCL_CPU_IVB_XEON__Intel® microarchitecture code name Ivy Bridge on Intel Xeon® processor family
      __INTEL_OPENCL_CPU_SNB__Intel® microarchitecture code name Sandy Bridge
      __INTEL_OPENCL_CPU_SNB_XEON__Intel® microarchitecture code name Sandy Bridge on Intel Xeon® processor family
      __INTEL_OPENCL_CPU_WST__Intel® microarchitecture code name Westmere
      __INTEL_OPENCL_CPU_WST_XEON__Intel® microarchitecture code name Westmere on Intel Xeon® processor family
      __INTEL_OPENCL_CPU_UNKNOWN__Unknown microarchitecture
  •  Improved heuristics for choosing local size when ndrange is enqueued to the
    command queue that was created with
    CL_QUEUE_THREAD_LOCAL_EXEC_ENABLE_INTEL property (extension
    https://www.khronos.org/registry/OpenCL/extensions/intel/cl_intel_thread_local_exec.
    txt).
  •  A fix for a previous issue where an incorrect library was loaded when running on Intel®
    microarchitecture code name Skylake.

Check out the release notes for the previous release here.


Viewing all articles
Browse latest Browse all 3384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>