llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[SYCL] [NATIVECPU] Implement generic atomic store for generic target

Open PietroGhg opened this issue 1 year ago • 1 comments

Implements __spirv_AtomicStore similarly to https://github.com/intel/llvm/pull/13249. Note that the IMPL macro has been extended to take in a SUB parameter, similarly to what happens for amdgcn and ptx.

PietroGhg avatar Apr 16 '24 13:04 PietroGhg

@frasercrmck I've just realized that after https://github.com/intel/llvm/pull/13109, _CLC_GENERIC_AS_SUPPORTED will actually be 0 for Native CPU, which means that we the current use of that macro the overloads will not be available on Native CPU, which kinda defies the purpose of this PR, so I am not really sure what to do here

PietroGhg avatar Apr 26 '24 13:04 PietroGhg

@intel/llvm-gatekeepers this looks ready to merge, thank you

PietroGhg avatar May 22 '24 07:05 PietroGhg