CLION Cuda support in a compilation database project
Hello, I am running into a CLion navigation/syntax-highlight problem in a CUDA project. Appreciate if any one can help me out.
Problem: Clion is not providing navigation in .cu and .cuh files. It works in .cc and .h files. I have already associated the file types *.cu and *.cuh with C/C++. For example, I can navigate to source/declaration of `<vector>` or `<thrust/vector>` in .cc and .h files but not in .cu and .cuh files.
Setup: The project (github repo) is a Cuda project with relatively minimal make files. I am opening it in Clion as a compilation database project using compile_commands.json (actual file gist; not checked into repo).
Best I can tell, the .cu and .cuh files are not even being parsed properly. So, I don't get red squiggles on syntax errors.
Question: Is it feasible to get syntax and navigation in .cu and .cuh files for this project setup? If so, how.
Thank you
请先登录再写评论。