[PATCH] D108461: [OpenCL] Supports optional generic address space sematics in C++ for OpenCL 2021

Justas Janickas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 6 01:29:03 PDT 2021


Topotuna marked an inline comment as done.
Topotuna added inline comments.


================
Comment at: clang/lib/Basic/TargetInfo.cpp:413
           OpenCLFeaturesMap, "__opencl_c_generic_address_space");
-      Opts.OpenCLPipes =
-          hasFeatureEnabled(OpenCLFeaturesMap, "__opencl_c_pipes");
+      if (Opts.OpenCLVersion == 300)
+        Opts.OpenCLPipes =
----------------
Anastasia wrote:
> Ok, I am guessing this will be changed back to one check later on?
Yes, the change that removes this check is already put for review: D109306


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108461/new/

https://reviews.llvm.org/D108461



More information about the cfe-commits mailing list