Fixing build problem for openmp only or quo only by adding
ifdef HAVE_OPENCL around device code