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 - Getting next two indexes regardless of current index -

ruby - Prevent Custom Validation Error on Association -