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 - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -