query context instead of platform to find out about double support in OpenCL