to compensate the lack of VLAs in OpenCL, this tiny trick offers the ability to create them though:

add some extra space characters at the very top of your kernel file (in this case 20)
after...