Skip to content

Commit 346ed55

Browse files
[SYCL][Docs] Remove unintentional arg in virtual mem unmap (#20573)
The device argument in the unmap function does not exist in the code definition, but appears in the description. This commit amends this mistake. Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 02372e4 commit 346ed55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_virtual_mem.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ the `physical_mem` the range is mapped to and `numBytes` must be a multiple of
377377
the minimum memory granularity of the device associated with the `physical_mem`
378378
the range is mapped to.
379379

380-
|`void unmap(const void *ptr, size_t numBytes, const device &syclDevice, const context &syclContext)` |
380+
|`void unmap(const void *ptr, size_t numBytes, const context &syclContext)` |
381381
Unmaps the range specified by `ptr` and `numBytes`. The range must have been
382382
mapped through a call to `physical_mem::map()` prior to calling this. The range
383383
must not be a proper sub-range of a previously mapped range. `syclContext` must

0 commit comments

Comments
 (0)