[llvm-bugs] [Bug 32328] New: Add aliases for data types (uint etc.) in OpenCL

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 17 09:09:16 PDT 2017


            Bug ID: 32328
           Summary: Add aliases for data types (uint etc.) in OpenCL
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OpenCL
          Assignee: unassignedclangbugs at nondot.org
          Reporter: vedran at miletic.net
                CC: llvm-bugs at lists.llvm.org

$ clang -S -emit-llvm -o kernel.ll -x cl kernel.cl 
kernel.cl:4:2: error: unknown type name 'uint'; did you mean 'int'?
 uint offA,

uint is alias for unsigned int [1].

There might be more type aliases we should handle. Among other applications,
this is required for clBLAS [2] to work unchanged.

[2] https://github.com/clMathLibraries/clBLAS

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/20170317/f371651a/attachment.html>

More information about the llvm-bugs mailing list