[Bug 99950] Add cl_khr_int64_base_atomics to Clover and make it work on radeonsi

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 24 20:30:45 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99950

            Bug ID: 99950
           Summary: Add cl_khr_int64_base_atomics to Clover and make it
                    work on radeonsi
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: vedran at miletic.net
        QA Contact: dri-devel at lists.freedesktop.org

Documentation:
https://www.khronos.org/registry/OpenCL/sdk/1.0/docs/man/xhtml/cl_khr_int64_base_atomics.html

Clang is aware of this extension:

tools/clang/lib/Basic/Targets.cpp:     
Opts.support("cl_khr_int64_base_atomics");
tools/clang/lib/Sema/Sema.cpp:      //   cl_khr_int64_base_atomics and
cl_khr_int64_extended_atomics
tools/clang/lib/Sema/Sema.cpp:      //   is supported and the
cl_khr_int64_base_atomics and
tools/clang/lib/Sema/Sema.cpp:      //   atomic_ptrdiff_t are supported if the
cl_khr_int64_base_atomics and
tools/clang/lib/Sema/Sema.cpp:            "cl_khr_int64_base_atomics
cl_khr_int64_extended_atomics");

BUFFER_ATOMIC_*_X2 and FLAT_ATOMIC_*_X2 are available in LLVM/AMDGPU.

User/potential test: bug 99764

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170224/d4677ac2/attachment.html>


More information about the dri-devel mailing list