Provided for backward compatibility if double floating-point precision is supported.

#pragma OPENCL EXTENSION cl_khr_fp64 : enable


This symbol exists for backward compatibility if double precision is supported. The 64-bit double scalar and corresponding vector types are optional types that are supported if CL_DEVICE_DOUBLE_FP_CONFIG in the table of allowed values for param_name for clGetDeviceInfo for a device is not zero.

The double data type must confirm to the IEEE-754 double precision storage format.


OpenCL Specification

Also see


Copyright © 2007-2013 The Khronos Group Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and/or associated documentation files (the "Materials"), to deal in the Materials without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Materials, and to permit persons to whom the Materials are furnished to do so, subject to the condition that this copyright notice and permission notice shall be included in all copies or substantial portions of the Materials.