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*
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Why DPCT on devcloud always report Error

LLiu22
Beginner
2,186 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
2,186 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
2,186 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