Unverified Commit 335820cc authored by bdenhollander's avatar bdenhollander Committed by GitHub
Browse files

Remove OpenCL cl_khr_fp64 pragma no longer required in OpenCL 1.2 (#4289)

Closes #2986
parent 76520ce4
......@@ -603,8 +603,6 @@ cl::Program OpenCLContext::createProgram(const string source, const map<string,
}
if (!compilationDefines.empty())
src << endl;
if (supportsDoublePrecision)
src << "#pragma OPENCL EXTENSION cl_khr_fp64 : enable\n";
if (useDoublePrecision) {
src << "typedef double real;\n";
src << "typedef double2 real2;\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment