Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*

Why DPCT on devcloud always report Error

LLiu22
Beginner
1,832 Views

Hi,

I always get following error message, no matter what command I used:

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

 

Cmdline1: dpct --cuda-include-path=./include/ --out-root=dpct_output --keep-original-code test.cu

Cmdline2: dpct --out-root=dpct_output --keep-original-code test.cu --extra-arg="-I./include/"

 

It can be sure that I have upload related header files to the server.

0 Kudos
2 Replies
LLiu22
Beginner
1,832 Views
The problem has Gone when I upload a complete include directory! I think it's due to some important files missing in my old include directory.
0 Kudos
GouthamK_Intel
Moderator
1,832 Views

Hi lan,

Thanks for reaching out to us.

Glad to hear that your issue got resolved.

We are closing this thread, Feel free to raise a new thread in case of any further issues.

 

Regards

Goutham

0 Kudos
Reply