Skip to content

Commit 5e1db84

Browse files
committed
Slightly generalise wording around validity
1 parent f6027be commit 5e1db84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

default-constructed-buffers/default-constructed-buffers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ explicit conversion operator would call this same function but allow its use
6060
in `if` statements.
6161

6262
Requesting access from a default-constructed buffer should throw an exception.
63-
It is not meaningful to use a default-constructed buffer on device. Since there
63+
It is not meaningful to use a default-constructed buffer. Since there
6464
is no allocation associated with a default-constructed `buffer`,
6565
`cl::sycl::buffer::set_final_data` and `cl::sycl::buffer::set_write_back`
6666
should behave as if the `buffer` had a final pointer of `nullptr` at all times.
6767
The other functions in the `buffer` API should behave as though the buffer were
6868
constructed with a `range` of size zero and otherwise behave normally.
6969

7070
Explicitly constructing a buffer with a range of zero is not allowed. This does
71-
not correspond to a valid device allocation.
71+
not correspond to a valid allocation.
7272

7373
## Sample code
7474

0 commit comments

Comments
 (0)