Shared OpenCL headers: loop protection, dependencies and other
things.