Bug 95038 - atomic_add and atomic_or cause a OpenCL crashes
Summary: atomic_add and atomic_or cause a OpenCL crashes
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: 11.2
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-20 19:06 UTC by rosenp
Modified: 2016-04-20 20:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description rosenp 2016-04-20 19:06:01 UTC
No real idea if this is an issue for LLVM or for Mesa but on my r600g GPU(6520g) LLVM crashes when compiling an opencl kernel that uses either atomic_add or atomic_or. On LLVM 3.8 and mesa 11.2
Comment 1 Aaron Watry 2016-04-20 20:34:11 UTC
Are the atomic_add/atomic_or operations causing the crash operating against local or global memory?

Last I checked, I think that atomics for r600g-based cards were only implemented in LLVM for the local memory space (while SI+ have both local/global implemented).

Someone may have gotten around to implementing support for global atomics for Evergreen/NI in LLVM while I wasn't looking, but I have no knowledge of it having been done.
Comment 2 rosenp 2016-04-20 20:53:30 UTC
it's for global memory. looks like it's unimplemented according to the galliumcompute chart. Oh well.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.