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.
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.