Skip to content
Discussion options

You must be logged in to vote

If you need more control, what you can do is to access the lower-level hipsycl::algorithms library directly. These library functions mostly map 1:1 to the standard parallel algorithms, but their signature is slightly different:

  • They have sycl::queue& as first argument
  • They return sycl::event
  • Some of them have some additional arguments to manage scratch memory that the algorithms might need.

Note that at some point in the future the hipsycl::algorithms namespace will be renamed to acpp::algorithms or similar. So maybe it is a good idea for you to introduce an alias here so that you only need to change one place in your code ;)

Currently I would strongly recommend using these algorithms e…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by blinkfrog
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants