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
b9c09b79
Commit
b9c09b79
authored
Nov 15, 2011
by
Peter Eastman
Browse files
By default, use OpenCL instead of CUDA
parent
0f83a741
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
platforms/cuda/include/CudaPlatform.h
platforms/cuda/include/CudaPlatform.h
+1
-1
platforms/opencl/include/OpenCLPlatform.h
platforms/opencl/include/OpenCLPlatform.h
+1
-1
No files found.
platforms/cuda/include/CudaPlatform.h
View file @
b9c09b79
...
@@ -47,7 +47,7 @@ public:
...
@@ -47,7 +47,7 @@ public:
return
name
;
return
name
;
}
}
double
getSpeed
()
const
{
double
getSpeed
()
const
{
return
10
0
;
return
5
0
;
}
}
bool
supportsDoublePrecision
()
const
;
bool
supportsDoublePrecision
()
const
;
const
std
::
string
&
getPropertyValue
(
const
Context
&
context
,
const
std
::
string
&
property
)
const
;
const
std
::
string
&
getPropertyValue
(
const
Context
&
context
,
const
std
::
string
&
property
)
const
;
...
...
platforms/opencl/include/OpenCLPlatform.h
View file @
b9c09b79
...
@@ -47,7 +47,7 @@ public:
...
@@ -47,7 +47,7 @@ public:
return
name
;
return
name
;
}
}
double
getSpeed
()
const
{
double
getSpeed
()
const
{
return
5
0
;
return
10
0
;
}
}
bool
supportsDoublePrecision
()
const
;
bool
supportsDoublePrecision
()
const
;
const
std
::
string
&
getPropertyValue
(
const
Context
&
context
,
const
std
::
string
&
property
)
const
;
const
std
::
string
&
getPropertyValue
(
const
Context
&
context
,
const
std
::
string
&
property
)
const
;
...
...
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