Speed up self-tests significantly for OpenCL formats.