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

DPC++ with locking

SUKLA
Beginner
456 Views

Hello,

   I am looking at the demo of DPC++. I have used lambda function in C++14 for parallel multi-threading. I passed the data through reference in lambda function. I have used locking for the reference data. Can I do that same thing in DPC++? I would like to get an example.

Thank you,

0 Kudos
3 Replies
GouthamK_Intel
Moderator
433 Views

Hi Sukla,

>>>I have used lambda function in C++14 for parallel multi-threading. I passed the data through reference in lambda function. I have used locking for the reference data.

Could you please share the sample code with steps that explains what you are looking for?


Regards

Goutham


GouthamK_Intel
Moderator
406 Views

Hi Sukla,

Reminder: Could you please share the above requested details.


Regards

Goutham


GouthamK_Intel
Moderator
395 Views

Hi,

As we have not heard back from you, we are considering that your issue has been resolved and we have answered all your queries. So we will no longer respond to this thread.

If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only 

Have a Good day!


Thanks & Regards

Goutham


Reply