Intel® oneAPI Base Toolkit
Support for core tools and libraries to build and deploy high-performance data-centric applications
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
287 Discussions

Path for CUDA header files is invalid or not available

Madanan__Midhun
Beginner
689 Views

I am trying to migrate a CUDA project using Intel One. When I try to migrate using the VS 2017 plugin, it shows me below error:

exited with code: -5 (Error: Path for CUDA header files is invalid or not available. Specify with --cuda-include-path)

 

I tried to specify the additional argument --cuda-include-path = <CUDA include path>, but it still fails with same error.

Can anyone help me to rectify this error. Please note the CUDA SDK is already installed and my CUDA application builds without any issue.

Do I need to do anything more.

0 Kudos
4 Replies
AbhishekD_Intel
Moderator
689 Views

Hi,

Can you tell us which version of OneAPI Toolkit you are using and also the CUDA toolkit version?

 

Madanan__Midhun
Beginner
689 Views

OneAPI Tool KIT version : 2021.1.4.423

CUDA Tool Kit version : 10

AbhishekD_Intel
Moderator
689 Views

Hi Madanan,

I will suggest you upgrade your CUDA toolkit version to 10.1 original archive, because the supported CUDA versions are: 8.0, 9.x, 10.1 only.

After using CUDA 10.1 you will able to migrate your cuda code to dpcpp, it is working for us.

For more details regarding the requirements, you can visit this link.

-Abhishek

AbhishekD_Intel
Moderator
689 Views

Hi Madanan,

Will you please confirm if your issue gets resolved.

-Abhishek

Reply