How to fix CL_INVALID_WORK_ITEM_SIZE error
trriger opened this issue · 7 comments
trriger commented
trriger commented
sowson commented
can you try yolov2.cfg or yolov3-tiny.cfg? my exp. with Asus Tinker Board S showed me a vram limitation is a reason. thx!
trriger commented
sowson commented
ok, let me try to answer in 99% it is because of clCreateBuffer usage... now, please navigate to the "src/opencl.c" file and look for 2 invocations of the mentioned method, keep only CL_MEM_READ_WRITE flag and make replace x_gpu.ptr argument as NULL, rebuild and it should help, however, only usage not training will work with this change, you may also if works make it in the "#ifdef ARM" section to others who have this issue as a pull request ;-).
trriger commented
sowson commented
trriger commented
The latest commit runs successfully. I sincerely appreciate your help.