Skip to contentSkip to conversation

Add cl_khr_int64_base_atomics to Clover and make it work on radeonsi

Bug 99950 [email protected] 1 participant 5 messages Feb 24, 2017 – Sep 27, 2017

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

Vedran Miletić <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Blocks|                            |99553

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=99553
[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

--- Comment #1 from Jan Vesely <[email protected]> --- This should be rather straightforward:
add wrappers to libclc (use generic/lib/atomic/atomic_impl.ll as example) add piglit tests

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

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

Vedran Miletić <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Blocks|                            |99764

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=99764
[Bug 99764] Make OpenMM OpenCL support work on Clover and RadeonSI

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

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

Jan Vesely <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Jan Vesely <[email protected]> --- you'll need latest mesa (17.3) and libclc >=r313811

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel