Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel ICX Compiler , Intel® DPC++ Compatibility Tool, and GDB*

DPC++ question about queues

eug
Beginner
923 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
923 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

0 Kudos
eug
Beginner
923 Views

Thank you!

0 Kudos
GouthamK_Intel
Moderator
923 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

0 Kudos
eug
Beginner
923 Views

Yes, you can close this thread.

0 Kudos
GouthamK_Intel
Moderator
923 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

0 Kudos
Reply