Intel® oneAPI Base Toolkit
Support for the core tools and libraries within the base toolkit that are used to build and deploy high-performance data-centric applications.

Path for CUDA header files is invalid or not available

Madanan__Midhun
Beginner
1,253 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
1,253 Views

Hi,

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

 

0 Kudos
Madanan__Midhun
Beginner
1,253 Views

OneAPI Tool KIT version : 2021.1.4.423

CUDA Tool Kit version : 10

0 Kudos
AbhishekD_Intel
Moderator
1,253 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

0 Kudos
AbhishekD_Intel
Moderator
1,253 Views

Hi Madanan,

Will you please confirm if your issue gets resolved.

-Abhishek

0 Kudos
Reply