Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ESIMD][NFC] Fix several NFC issues in atomic_update() implementation #11638

Merged
merged 2 commits into from
Oct 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix an accidental last minute error
Signed-off-by: Vyacheslav N Klochkov <vyacheslav.n.klochkov@intel.com>
  • Loading branch information
v-klochkov committed Oct 24, 2023
commit 896b7c3a3ac139536cf3fd1d46e592f80b47d97d
2 changes: 2 additions & 0 deletions sycl/include/sycl/ext/intel/experimental/esimd/memory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2723,6 +2723,8 @@ namespace detail {
// the input type 'T' and operation 'Op'.
template <typename T, __ESIMD_NS::atomic_op Op>
constexpr int lsc_to_internal_atomic_op() {
constexpr __ESIMD_NS::native::lsc::atomic_op LSCOp =
__ESIMD_DNS::to_lsc_atomic_op<Op>();
return static_cast<int>(LSCOp);
}
} // namespace detail
Expand Down