Skip to content

Commit

Permalink
Merge pull request codeplaysoftware#234 from nmnobre/lesson03
Browse files Browse the repository at this point in the history
Tweak the materials for Lesson 03
  • Loading branch information
rodburns authored Apr 25, 2023
2 parents 0c9d8e9 + a6ff8dd commit f36247e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Lesson_Materials/Lecture_03_Managing_Data/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
<div class="container">
<div class="col" data-markdown>
* Once the SYCL scheduler selects the command group to be executed it must first satisfy its data dependencies
* This means allocating and copying data to the device the data is being accessed on if necessary
* If necessary, this includes allocating and copying the data to the device accessing that data
* If the most recent copy of the data is already on the device then the runtime will not copy again
</div>
<div class="col" data-markdown>
Expand All @@ -256,7 +256,7 @@
</div>
<div class="container">
<div class="col" data-markdown>
* Data will remain in device memory after kernels finish executing until another command group requests access in a different device or on the host
* Data will remain in device memory after kernels finish executing until another accessor requests access in a different device or on the host
* When the buffer object is destroyed it will wait for any outstanding work that is accessing the data to complete and then copy back to the original host memory
</div>
<div class="col" data-markdown>
Expand Down Expand Up @@ -340,8 +340,8 @@
group function you are within.
* The element type and dimensionality are inferred from
the `buffer`.
* The `access::mode` is defaulted to
`access::mode::read_write`.
* The `access_mode` is defaulted to
`access_mode::read_write`.
</div>
</section>
<!--Slide 14-->
Expand All @@ -357,10 +357,10 @@
</div>
<div class="container" data-markdown>
* When constructing an `accessor` you will likely also
want to specify the `access::mode`
want to specify the `access_mode`
* You can do this by passing one of the CTAD tags:
* `read_only` will result in `access::mode::read`.
* `write_only` will result in `access::mode::write`.
* `read_only` will result in `access_mode::read`.
* `write_only` will result in `access_mode::write`.
</div>
</section>
<!--Slide 15-->
Expand Down
Binary file modified Lesson_Materials/common-revealjs/images/accessor-types.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Lesson_Materials/common-revealjs/images/buffer-destroyed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Lesson_Materials/common-revealjs/images/buffer-hostmemory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f36247e

Please sign in to comment.