fixed doc builder warnings; make sure the tests give reasonable results when OpenCL is not available