Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] Adds tests for atomic_fence_capabilities #1658

Open
wants to merge 4 commits into
base: intel
Choose a base branch
from

Conversation

maarquitos14
Copy link

Adds tests for sycl::info::device::atomic_fence_order_capabilities and sycl::info::device::atomic_fence_scope_capabilities.

Signed-off-by: Maronas, Marcos <marcos.maronas@intel.com>
@maarquitos14 maarquitos14 requested a review from a team as a code owner March 14, 2023 13:20
Signed-off-by: Maronas, Marcos <marcos.maronas@intel.com>
memory_order order_read = order;
if (memory_order::release == order_read) {
order_read = memory_order::acquire;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if order_write is memory_order::acquire? Should it also be flipped?

Signed-off-by: Maronas, Marcos <marcos.maronas@intel.com>
Signed-off-by: Maronas, Marcos <marcos.maronas@intel.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants