Skip to content

Commit

Permalink
Remove OpenCL cl_khr_fp64 pragma no longer required in OpenCL 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bdenhollander committed Oct 30, 2023
1 parent 76520ce commit 063f21d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions platforms/opencl/src/OpenCLContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 063f21d

Please sign in to comment.