If device does not support double, returns immediately.
Double floating points are not default supported by OpenCL.
Merge pull request #1507 from pengx17:2.4_fix_test