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

[SYCL][XPTI] Add accessor events #5249

Merged
merged 9 commits into from
Jan 4, 2022
Prev Previous commit
Next Next commit
Fix a bug
  • Loading branch information
vladimirlaz committed Dec 30, 2021
commit 5d8d9a351b9e17e2b1105a94d1d931f071a742b7
5 changes: 3 additions & 2 deletions sycl/include/CL/sycl/accessor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1627,9 +1627,10 @@ class __SYCL_SPECIAL_CLASS accessor :
static_assert(
PropertyListT::template areSameCompileTimeProperties<NewPropsT...>(),
"Compile-time-constant properties must be the same");
detail::constructorNotification(Other.MSYCLMemObj,
detail::AccessorBaseHost::impl.get(),
#ifndef __SYCL_DEVICE_ONLY__
detail::constructorNotification(impl.get()->MSYCLMemObj, impl.get(),
AccessTarget, AccessMode, CodeLoc);
#endif
}

constexpr bool is_placeholder() const { return IsPlaceH; }
Expand Down