Skip to content

Commit 48df3a0

Browse files
authored
Some more typo type fixes
1 parent 7d0cc8b commit 48df3a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2021-04-11-hipsycl-091-buffer-policies.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ This post is part of a series where we discuss some features of the brandnew hip
99

1010
# Asynchronous buffers and explicit buffer policies
1111

12-
This is a new extension in hipSYCL that can make code using `sycl::buffer` objects **much clearer while also improving performance**. Insterested? Then this blog post is for you.
12+
This is a new extension in hipSYCL that can make code using `sycl::buffer` objects **much clearer while also improving performance**. Interested? Then this blog post is for you.
1313

1414
## Motivation 1: Buffers are complicated
1515

1616
A `sycl::buffer` is a very complicated object. Depending on a combination of multiple factors the semantics of a `sycl::buffer` can be very different. Will it operate directly on input pointers or will it copy input data to some internal storage? Will it submit a writeback in the destructor to copy data back to host?
1717

1818
I have frequently noticed users getting this wrong. This can either lead to correctness issues, for example
1919
* the buffer operates directly on the input pointer, while the user has only intended to provide it as a source of initial data and wanted to reuse it after buffer construction
20-
* No writeback is issued even though the user expected data to be copied back to host.
20+
* no writeback is issued even though the user expected data to be copied back to host.
2121

2222
Or performance bugs might be introduced - these are arguably even worse because you might not notice them right away and they might be difficult to find. Some performance bugs that I have seen in user code are:
2323
* The buffer issued an unexpected writeback, and thus copied data back to host without the user intending it

0 commit comments

Comments
 (0)