How to support variable length arrays in OpenCL linux -


my kernel contains private variable length arrays. kernel can compiled , executed in mac, fails in linux opencl. in linux, error error: variable length arrays not supported in opencl. so, how support variable length arrays in linux opencl?

try opencl kma (kernel memory allocator) see https://github.com/rspliet/kma

it implements malloc , free opencl


Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

python - How to keep asking the user for a file -

javascript - How can I reference jquery library using cgi methods in ruby? -