Skip to content
Discussion options

You must be logged in to vote

Figured it out, it was necessary to use pinned memory.
I allocated memory on the host in the usual way:

buf16 = new quint16[pixAll];
bufFr = new quint16[pixImg];

But it had to be like this:

buf16 = sycl::malloc_host<quint16>(pixAll, qu);
bufFr = sycl::malloc_host<quint16>(pixImg, qu);

I'm sure if I had specified this in the question, you would have answered.

Thank you so much for the comment!
Multiple In-order queues are not only faster, but also more convenient than a single out-of-order queue. Because instead of specifying dependencies between events, you can put a set of commands for each task into a separate in-order queue.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@illuhad
Comment options

Answer selected by EmerAX7
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