Skip to content

Commit

Permalink
Fix wording to be consistent with previously applied suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Kinsner authored Nov 22, 2023
1 parent 9b31195 commit f27c672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6116,8 +6116,8 @@ if set final data is [code]#nullptr)#.

To prevent race conditions between accesses to the host allocation owned by a [code]#buffer# in the
<<sycl-runtime>> (e.g., by accessors) and in host code, it is necesssary
to use manual synchronization without using a [code]#host_accessor#, a
[code]#std::mutex# can be passed to the [code]#buffer# constructor through a
to use manual synchronization though a [code]#host_accessor#, or by
passing a [code]#std::mutex# to the [code]#buffer# constructor through a
[code]#property#.

The SYCL runtime is required to lock the mutex whenever the data is in use by the runtime, and unlock
Expand Down

0 comments on commit f27c672

Please sign in to comment.