biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix OpenCL compilation errors.
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxlib
/
gpu_utils
/
ocl_compiler.cpp
diff --git
a/src/gromacs/gmxlib/gpu_utils/ocl_compiler.cpp
b/src/gromacs/gmxlib/gpu_utils/ocl_compiler.cpp
index 783016de1a7766766a1568d8020df9a2c996b025..4e43fd0e1c634829241bb7bb1edc454953260c3b 100644
(file)
--- a/
src/gromacs/gmxlib/gpu_utils/ocl_compiler.cpp
+++ b/
src/gromacs/gmxlib/gpu_utils/ocl_compiler.cpp
@@
-750,7
+750,7
@@
ocl_get_build_options_string(cl_context context,
for (std::string::size_type i = 0; i < unescaped_ocl_root_path.length(); i++)
{
- if (
inputStr
[i] == ' ')
+ if (
unescaped_ocl_root_path
[i] == ' ')
{
ocl_root_path.push_back('\\');
}