Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*

DPC++ question about queues

eug
Einsteiger
1.845Aufrufe

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 Antworten
GouthamK_Intel
Moderator
1.845Aufrufe

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
Einsteiger
1.845Aufrufe

Thank you!

GouthamK_Intel
Moderator
1.845Aufrufe

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
Einsteiger
1.845Aufrufe

Yes, you can close this thread.

GouthamK_Intel
Moderator
1.845Aufrufe

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

Antworten