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
602 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
579 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


0 Kudos
GouthamK_Intel
Moderator
552 Views

Hi Sukla,

Reminder: Could you please share the above requested details.


Regards

Goutham


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


0 Kudos
Reply