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 -

java - How to put two numbers separated by a space into two different arrays -

laravel - Undefined property: Illuminate\Pagination\LengthAwarePaginator::$id (View: F:\project\resources\views\admin\carousels\index.blade.php) -