Using #include to load OpenCL code

后端 未结 2 1359
刺人心
刺人心 2021-01-03 00:43

I\'ve seen this done long ago with hlsl/glsl shader code -- using an #include on the source code file that pastes the code into a char* so that no

2条回答
  •  攒了一身酷
    2021-01-03 01:17

    According to this, it's not possible, but you can use xxd -i to archieve the same effect.

提交回复
热议问题