From c217582b5ddfe573e3003345368e3bf080fd8aad Mon Sep 17 00:00:00 2001 From: "Larsen, Steffen" Date: Wed, 5 Nov 2025 23:41:07 -0800 Subject: [PATCH] [SYCL][Docs] Remove unintentional arg in virtual mem unmap 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 --- .../experimental/sycl_ext_oneapi_virtual_mem.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/doc/extensions/experimental/sycl_ext_oneapi_virtual_mem.asciidoc b/sycl/doc/extensions/experimental/sycl_ext_oneapi_virtual_mem.asciidoc index 72a6e1ed14f55..25c22ec12b2ea 100644 --- a/sycl/doc/extensions/experimental/sycl_ext_oneapi_virtual_mem.asciidoc +++ b/sycl/doc/extensions/experimental/sycl_ext_oneapi_virtual_mem.asciidoc @@ -377,7 +377,7 @@ the `physical_mem` the range is mapped to and `numBytes` must be a multiple of the minimum memory granularity of the device associated with the `physical_mem` the range is mapped to. -|`void unmap(const void *ptr, size_t numBytes, const device &syclDevice, const context &syclContext)` | +|`void unmap(const void *ptr, size_t numBytes, const context &syclContext)` | Unmaps the range specified by `ptr` and `numBytes`. The range must have been mapped through a call to `physical_mem::map()` prior to calling this. The range must not be a proper sub-range of a previously mapped range. `syclContext` must