summaryrefslogtreecommitdiffstats
path: root/libclc/generic/lib/atom_int32_binary.inc
Commit message (Collapse)AuthorAgeFilesLines
* atom: Use volatile pointers for ↵Jan Vesely2018-06-211-1/+1
| | | | | | | | | | | | | | | | cl_khr_{global,local}_int32_{base,extended}_atomics int64 versions were switched to volatile pointers in cl1.1 cl1.1 also renamed atom_ functions to atomic_ that use volatile pointers. CTS and applications use volatile pointers. Passes CTS on carrizo no return piglit tests still pass on turks. Reviewed-By: Aaron Watry <awatry@gmail.com> Tested-By: Aaron Watry <awatry@gmail.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 335280
* atom: Consolidate cl_khr_{local,global}_int32_{base,extended}_atomics ↵Jan Vesely2018-06-211-0/+14
implementation These are just atomic_* wrappers. Switch inc, dec to use atomic_* wrappers as well. Reviewed-By: Aaron Watry <awatry@gmail.com> Tested-By: Aaron Watry <awatry@gmail.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 335279
OpenPOWER on IntegriCloud