Unable to parse cuda .cu file
yuweitt opened this issue · 1 comments
yuweitt commented
Hi,
I followed the tutorial - print scope section and successfully parsed a c file.
However, when I tried to parse a .cu file, it failed with the following error message,
Command-line error: cannot open source file
"/usr/rose/include/edg/cuda_HEADERS/preinclude-cuda.h"
I've tried to build from source and manually copied preinclude-cuda.h
to cuda_HEADERS
directory. Still, it didn't work. Is there a specific instruction to successfully build rose with cuda supported ?
tristanvdb commented
Hi,
Did you enable CUDA when configuring ROSE? It is needed to trigger the installation of the headers.
Can you send me your configure command and the output of rose-compiler --version
?
Thanks,
-Tristan