@@ -196,7 +196,7 @@ granularity, as returned by a call to `get_mem_granularity`. Likewise,
196
196
`numBytes` must be a multiple of the granularity. Attempting to call this
197
197
function without meeting these requirements results in undefined behavior.
198
198
199
- If any of the devices in `syclContext` does not have
199
+ If any of the devices in `syclContext` do not have
200
200
`aspect::ext_oneapi_virtual_mem` the call throws an exception with
201
201
`errc::feature_not_supported`.
202
202
@@ -219,8 +219,8 @@ behavior.
219
219
220
220
:crs: https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:reference-semantics
221
221
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:
224
224
225
225
```c++
226
226
namespace sycl::ext::oneapi::experimental {
@@ -283,8 +283,8 @@ of `offset` bytes.
283
283
284
284
If `mode` is `address_access_mode::read` or `address_access_mode::read_write`
285
285
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.
288
288
289
289
Writing to any address in the virtual memory range with access mode set to
290
290
`access_mode::read` results in undefined behavior.
0 commit comments