[llvm-bugs] [Bug 49222] New: [C++4OpenCL] Missing address space diagnostic for references in kernel parameters
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Wed Feb 17 05:14:23 PST 2021
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=49222
            Bug ID: 49222
           Summary: [C++4OpenCL] Missing address space diagnostic for
                    references in kernel parameters
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OpenCL
          Assignee: unassignedclangbugs at nondot.org
          Reporter: anastasia.stulova at arm.com
                CC: anastasia.stulova at arm.com, llvm-bugs at lists.llvm.org
Currently we fail to diagnose address spaces for reference parameters of the
kernel functions
kernel  void goo(int& img) {
}
However, just like in the pointer types the diagnostic should be given in the
object is not in '__global', '__constant' or '__local'
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210217/e5beb7f1/attachment.html>
    
    
More information about the llvm-bugs
mailing list