Skip to content

Commit 09fb2fe

Browse files
committed
Address spec wording comments
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
1 parent 21397f0 commit 09fb2fe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_virtual_mem.asciidoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ granularity, as returned by a call to `get_mem_granularity`. Likewise,
196196
`numBytes` must be a multiple of the granularity. Attempting to call this
197197
function without meeting these requirements results in undefined behavior.
198198

199-
If any of the devices in `syclContext` does not have
199+
If any of the devices in `syclContext` do not have
200200
`aspect::ext_oneapi_virtual_mem` the call throws an exception with
201201
`errc::feature_not_supported`.
202202

@@ -219,8 +219,8 @@ behavior.
219219

220220
:crs: https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:reference-semantics
221221

222-
To represent the underlying physical device memory a virtual address is mapped,
223-
the `physical_mem` class is added. This new class is defined as:
222+
To represent the underlying physical device memory a virtual address is mapped
223+
to, the `physical_mem` class is added. This new class is defined as:
224224

225225
```c++
226226
namespace sycl::ext::oneapi::experimental {
@@ -283,8 +283,8 @@ of `offset` bytes.
283283

284284
If `mode` is `address_access_mode::read` or `address_access_mode::read_write`
285285
the returned pointer is accessible after the call as read-only or read-write
286-
respectively. Otherwise, it considered inaccessible and accessing it will result
287-
in undefined behavior.
286+
respectively. Otherwise, it is considered inaccessible and accessing it will
287+
result in undefined behavior.
288288

289289
Writing to any address in the virtual memory range with access mode set to
290290
`access_mode::read` results in undefined behavior.

0 commit comments

Comments
 (0)