Enable code indexing of Cuda in Clion
<p>I am using Clion to develop a cuda program. The code highlight works fine when the extension is .h. However, when it is changed to .cuh, Clion just consider the new file a plain text file, and I have not been able to enable code highlight. I understand a complete Cuda toolchain is out of the question, so I will not hope Clion to parse statements like mykernel&lt;&lt;&lt;1024, 100>>>. Still I will be more than satisfied if it can parse the file just like parsing a normal header/cpp file.</p>

<p>Many thanks</p>