https://bugs.llvm.org/show_bug.cgi?id=41008

Anastasia Stulova <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #6 from Anastasia Stulova <[email protected]> ---
Restrict is not supported by C++ for OpenCL v1.0, see section 2.2.1.3
(https://github.com/KhronosGroup/OpenCL-Docs/releases/tag/cxxforopencl-v1.0-r1)

It is possible that some other versions of the language will relax it however
it doesn't seem easy at the moment with the C++ position on this. It is very
easy to work around the issue by mapping to __restrict for use cases that
guarantee to work correctly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to