1dc74065fb
It seems that whenever you have an HOST_PTR input buffer to be "transferred" from the host to the GPU, whose contents must be preserved, you must map it with WRITE_INVALIDATE_REGION on the RPi5. This makes little sense, but we'll have to let it be for now. At least the code works now and we don't have to abandon using OpenCL.