Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Madanan__Midhun
Beginner
332 Views

Path for CUDA header files is invalid or not available

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.

Tags (1)
0 Kudos
4 Replies
AbhishekD_Intel
Moderator
332 Views

Hi,

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

 

Madanan__Midhun
Beginner
332 Views

OneAPI Tool KIT version : 2021.1.4.423

CUDA Tool Kit version : 10

AbhishekD_Intel
Moderator
332 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
332 Views

Hi Madanan,

Will you please confirm if your issue gets resolved.

-Abhishek

Reply