Minor OpenCL/CUDA tweaks. Enable advance_cursor() for CUDA-only builds too.
Also some typos:
git grep -il tunning | xargs sed -ri 's/([tT])unning/\1uning/g'
git grep -il plataform | xargs sed -ri 's/lataform/latform/g'