Skip to content

Commit 119d9d0

Browse files
Apply suggestions from code review
Co-authored-by: Greg Lueck <[email protected]>
1 parent e7dab4f commit 119d9d0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_inter_process_communication.asciidoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,7 @@ void put(handle &ipc_handle, const sycl::context &ctx)
229229
!====
230230

231231
_Preconditions:_ `ipc_handle` is the IPC "handle" to USM device memory that was
232-
returned from a call to `get` either in this process or in some other process on
233-
the same system. The `put` function has not been previously called on the
232+
returned from a call to `get`. The `put` function has not been previously called on the
234233
handle.
235234

236235
_Effects:_ Deallocates resources associated with the handle. These resources are
@@ -278,7 +277,7 @@ other process on the same system. That USM device memory is accessible on device
278277

279278
_Returns:_ A pointer to the same USM device memory represented by `handle_data`.
280279
The returned pointer is associated with context `ctx`. It can be used wherever a
281-
USM device pointer for device `dev` and context `ctx` is expected, except it
280+
USM device pointer for device `dev` and context `ctx` are expected, except it
282281
cannot be passed to `sycl::free`. Instead, use the `close` function to free this
283282
memory pointer.
284283

0 commit comments

Comments
 (0)