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
aacefccf
Commit
aacefccf
authored
Apr 16, 2015
by
peastman
Browse files
OpenCL on Apple requires OS X 10.10.3 or later
parent
602629da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
platforms/opencl/src/OpenCLPlatform.cpp
platforms/opencl/src/OpenCLPlatform.cpp
+2
-2
No files found.
platforms/opencl/src/OpenCLPlatform.cpp
View file @
aacefccf
...
@@ -122,8 +122,8 @@ bool OpenCLPlatform::isPlatformSupported() {
...
@@ -122,8 +122,8 @@ bool OpenCLPlatform::isPlatformSupported() {
if
(
sscanf
(
str
,
"%d.%d.%d"
,
&
major
,
&
minor
,
&
micro
)
!=
3
)
if
(
sscanf
(
str
,
"%d.%d.%d"
,
&
major
,
&
minor
,
&
micro
)
!=
3
)
return
false
;
return
false
;
if
(
major
<
14
)
if
(
major
<
14
||
(
major
==
14
&&
minor
<
3
)
)
// 14.
0
.0 is the darwin release corresponding to OS X 10.10.
0
. Versions prior to that
// 14.
3
.0 is the darwin release corresponding to OS X 10.10.
3
. Versions prior to that
// contained a number of serious bugs in the Apple OpenCL libraries.
// contained a number of serious bugs in the Apple OpenCL libraries.
// (See https://github.com/SimTk/openmm/issues/395 for example.)
// (See https://github.com/SimTk/openmm/issues/395 for example.)
return
false
;
return
false
;
...
...
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