[all-commits] [llvm/llvm-project] c1aebd: [Clang][OpenCL] Wrap image functions with the macr...

Victor Mustya via All-commits all-commits at lists.llvm.org
Mon Mar 3 16:51:13 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1aebd495be0e468044f716a3a0ff98fccccb2be
      https://github.com/llvm/llvm-project/commit/c1aebd495be0e468044f716a3a0ff98fccccb2be
  Author: Victor Mustya <victor.mustya at intel.com>
  Date:   2025-03-03 (Mon, 03 Mar 2025)

  Changed paths:
    M clang/lib/Headers/opencl-c.h

  Log Message:
  -----------
  [Clang][OpenCL] Wrap image functions with the macro (#129177)

According to the OpenCL C spec, the image functions are optional.
For OpenCL C 1.2, the image functions are guarded by the
`__IMAGE_SUPPORT__` macro. For the OpenCL C 3.0 and later, the
`__opencl_c_images` macro is used.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list