Skip to content

Make Sycl resource more consist with other resources#182

Draft
MrBurmark wants to merge 2 commits into
mainfrom
bugfix/burmark1/sycl_breaking_changes
Draft

Make Sycl resource more consist with other resources#182
MrBurmark wants to merge 2 commits into
mainfrom
bugfix/burmark1/sycl_breaking_changes

Conversation

@MrBurmark
Copy link
Copy Markdown
Member

Change some parts of the Sycl resource to be more consistent with other resources.

These involve breaking changes and should not be merged until the next major release.

Now Sycl::get_queue returns a reference instead of a pointer
Comment thread include/camp/resource/sycl.hpp
@MrBurmark
Copy link
Copy Markdown
Member Author

This adds a user settable default resource per thread, which may also be useful to have for the other GPU backends. It adds a bit more overhead as the global is not a thread_local instead.

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

Successfully merging this pull request may close these issues.

2 participants