- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I create a resulting executable with the Data Parallel C++ compiler is that executable limited in any way when being run on non-Intel CPUs or GPUs ?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
DPC++ compilation can be performed in two ways:
- JIT (Just in Time) compilation (Online compilation)
- AOT (Ahead of Time) compilation (Offline compilation)
JIT compilation loads a generic SPIRV image into the executable. The machine code will be generated "on the fly" for the device that is being targeted.
AOT compilation loads a device-specific image into the executable. The machine code will be generated during the compilation phase ("Ahead of time") for the target device.
In short, the JIT-compiled executables should be portable (provided you have installed the same oneAPI version across both machines).
More information here:
Currently, oneAPI doesn't support non-Intel accelerators. You can check the hardware requirements here:
However, the open Github release of DPC++ has limited support for non-Intel accelerators. https://github.com/intel/llvm/blob/sycl/sycl/doc/GetStartedGuide.md
Thanks,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Any updates on this? If the solution provided helped, could you please let me know if I can close this thread from my end?
Thanks,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have not heard back from you, so I will go ahead and close this thread from my end. Feel free to post a new query if your issue persists.
Regards,
Rahul
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page