eyalroz / gpu-kernel-runner

Runs a single CUDA/OpenCL kernel, taking its source from a file and arguments from the command-line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expand CDT-parser-specific OpenCL header to also cover JetBrains CLion

eyalroz opened this issue · comments

We have a header for potential inclusion by kernels named kernels/include/opencl_syntax_for_cdt_parser.cl.h. It contains some definitions which are only applied when parsed by the Ecplise CDT IDE's parser - for editing OpenCL in that IDE without a specialized extension; and it's included in the port_from_cuda.cl.h convenience header.

I've recently been working with JetBrains' IDE CLion, so I'd like to expand this mechanism to also cover JetBrains' parser; and naturally change the filenames to reflect the generalization.