Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and GDB*
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

DPC++ question about queues

eug
Beginner
622 Views

Hello,

I have a question about device queues.

If I have 2 queues (1 for cpu and 1 for gpu), is it possible to execute the tasks

associated to the cpu queue and the ones related to gpu queue at same time?

 

0 Kudos
5 Replies
GouthamK_Intel
Moderator
622 Views

Hi Eug,

Thanks for reaching out to us!

yes, you can run two queues(1 for CPU and 1 for GPU) concurrently if they don't have any data dependency.

you can find more details on the same in the below link.

https://techdecoded.intel.io/essentials/dpc-part-1-an-introduction-to-the-new-programming-model/#gs.7fekpq

Please let us know if this helps you.

 

Thanks

Goutham

eug
Beginner
622 Views

Thank you!

GouthamK_Intel
Moderator
622 Views

Hi Eug,

Glad to know that information provided helped you!

Could you please let us know whether we can close this thread.

 

 

Thanks

Goutham

eug
Beginner
622 Views

Yes, you can close this thread.

GouthamK_Intel
Moderator
622 Views

Hi Eug,

Thanks for the confirmation!

We are closing this thread. 

Please feel free to raise a new thread in case of any further issues.

 

Thanks & regards

Goutham

Reply