- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have upgraded to oneAPI Beta 8. When I run dpct, I see a different behavior:
$dpct -p compile_commands.json
The directory "dpct_output" is used as "out-root"
dpct exited with code: -5 (Error: Path for CUDA header files is invalid or not available. Specify with --cuda-include-path)
CUDA header files are available through $PATH, $CUDADIR, $CUDA_INCLUDE_PATH and $CUDA_PATH.
When explicitly specifying the path to include files, I see the same behavior:
$ dpct --cuda-include-path=/usr/local/cuda/include -p compile_commands.json
The directory "dpct_output" is used as "out-root"
dpct exited with code: -5 (Error: Path for CUDA header files is invalid or not available. Specify with --cuda-include-path)
I used to use CUDA 11.0.228 with Beta07. I understand Beta07 supported CUDA 10.1 but since Beta07 worked with CUDA 11, I did not bother to downgrade. I wonder if above error message is due to CUDA version dpct sees or something different?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I downloaded CUDA 10.2 and installed it side by side with existing 11.0 without downgrading drivers, installed binaries, etc. DPCT seem to be happy now and not generating the cryptic error message. thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As per the latest oneAPI beta08 DPCT requirements, the only supported CUDA versions are: 8.0, 9.x, 10.1, 10.2.
Since the requirements are not met, DPCT will throw an error if you try to migrate.
DPCT only needs CUDA headers from the supported versions. So, if you could manage to get headers from these supported versions (given above) and provide its path to the --cuda-include-path flag, there are pretty high chances that it could work, without having to downgrade your current CUDA version.
Let me know if it helps.
Regards,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can give it a try on their Github pages. The other option would be to copy the headers from a machine that has one of the supported CUDA versions installed, on to your machine.
--Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I downloaded CUDA 10.2 and installed it side by side with existing 11.0 without downgrading drivers, installed binaries, etc. DPCT seem to be happy now and not generating the cryptic error message. thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good to know that it works.
Let me know if I can close the thread from my end?
Thanks,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the confirmation.
Intel will no longer monitor this thread. However, it will remain open for community participation.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page