Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Structure of syclacademy #149

Open
hdelan opened this issue May 10, 2022 · 0 comments
Open

Change Structure of syclacademy #149

hdelan opened this issue May 10, 2022 · 0 comments

Comments

@hdelan
Copy link
Collaborator

hdelan commented May 10, 2022

The current structure of syclacademy presents the buffer/accessor model before USM. This chapter makes the assumption that the programmer knows the difference between device and host memory, as well as the need for memcpys etc. It also presents buffers and accessors without any motivation as to why we need them/why they are useful.

Now that USM is a core feature I think a better structure would be to present USM before buffers accessors, since it emphasizes what the buffer accessor model abstracts away. Ideally dependencies would also be covered before introducing the buf acc model, as this is another thing that the buff acc model abstracts away.

A proposed ordering of topics would be:

USM -> Simple kernels (single tasks) -> Dependencies -> buffers/accessors

These units may have other topics interspersed between them.

This means that by the time we learn about the buffer/accessor model, we are fully convinced of why they are important and useful. Instead of the current approach which presents them in the SYCL 1.2.1 context of 'this is how you manage data'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant