HomePhabricator

[SYCL] Fix some issues with class atomic

Authored by jlpeyton on Mar 20 2019, 2:23 AM.

Description

[SYCL] Fix some issues with class atomic

Add const to load() functions.
Remove volatile keyword as per new spec.
Fix compare_exchange_strong() on device.
Remove old API since CTS tests were updated.

Signed-off-by: Vladimir Lazarev <vladimir.lazarev@intel.com>
Signed-off-by: Peyton, Jonathan L <jonathan.l.peyton@intel.com>

Event Timeline

Vladimir Lazarev <vladimir.lazarev@intel.com> committed rG4af9b1b10f54: [SYCL] Fix some issues with class atomic (authored by jlpeyton).Mar 22 2019, 12:11 PM