[SYCL][HIP]Implement proper device queries for atomic_memory/fence_capabilities
Open
enhancement
hip
- Dominant language
- LLVM
- Stars
- 1.5k
- Forks
- 854
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 137
Description
Currently, `info::device::atomic_fence_order_capabilities` and `info::device::atomic_fence_scope_capabilities` are just returning minimum mandated capabilities specified by SYCL2020, without querying the device at all. So is `info::device::atomic_memory_scope_capabilities`. We should actually query the device to get this information. Finally, `info::device::atomic_memory_order_capabilities` does not query the device either, but it returns more than minimum mandated capabilities specified by SYCL2020, so I don't know if this is already the correct value or we should do something with it too.
Contributor guide
Assessment
This issue has not been assessed yet.