Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
335820cc
Unverified
Commit
335820cc
authored
Oct 31, 2023
by
bdenhollander
Committed by
GitHub
Oct 31, 2023
Browse files
Remove OpenCL cl_khr_fp64 pragma no longer required in OpenCL 1.2 (#4289)
Closes #2986
parent
76520ce4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
platforms/opencl/src/OpenCLContext.cpp
platforms/opencl/src/OpenCLContext.cpp
+0
-2
No files found.
platforms/opencl/src/OpenCLContext.cpp
View file @
335820cc
...
...
@@ -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
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment