GPU Compute Software
Ask questions about Intel® Graphics Compute software technologies, such as OpenCL* GPU driver and oneAPI Level Zero
142 Discussions

Compiling and Migrating to DPC++

Andrew10
Beginner
2,605 Views

Hello,

 

I have extracted a github repository into devcloud. The files are in C++ and OpenCL. How can I run the files on OneAPI?

 

Can this also be done using jupyter notebook?

0 Kudos
3 Replies
SantoshY_Intel
Moderator
2,544 Views

Hi,

 

Thanks for reaching out to us.

 

Please find the below link for migrating from OpenCL to DPC++:

https://www.intel.com/content/www/us/en/developer/articles/technical/migrating-opencl-designs-to-dpcpp.html

 

>>"Can this also be done using jupyter notebook?"

Yes, you can run programs using the Intel compilers & migrating OpenCL to DPC++ can also be done using Jupiter notebook.

 

Use the below commands for compiling & running the DPC++ code(see the below-attached screenshot for reference):

 

dpcpp filename.cpp
./a.out

 

 

 

Thanks & Regards,

Santosh

 

 

0 Kudos
SantoshY_Intel
Moderator
2,477 Views

Hi,


We haven't heard back from you. Could you please provide us with any updates on your issue?


Thanks & Regards,

Santosh


0 Kudos
SantoshY_Intel
Moderator
2,391 Views

Hi,


I assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks & Regards,

Santosh


0 Kudos
Reply