I am currently in the process of distributing an OpenCL program (online compilation).
Now my kernel code is in a *.cl file, which is read during kernel building. I think that is also possible to convert the kernel source code into string literals, that can be read directly instead of the *.cl for the same purpose.
My question is: what would be the advantage of stringfying the kernel code?
@replace_me@and one can replace them with dynamically changed values and re-compile same code with different parameters such as local array size (local array size must be constant so you can re-compile whenever you need a different size for local arrays).__local float data[@replace_me_@];- huseyin tugrul buyukisik-DSIZE=NUM)?. - L30nardo SV.