Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
docking
ocladock
Commits
be11e258
Commit
be11e258
authored
May 14, 2018
by
lvs
Browse files
removed codexl warning: memory leak by clCreateKernel (better comments)
parent
efbb1d8b
Changes
2
Hide whitespace changes
Inline
Side-by-side
host/src/performdocking.cpp
View file @
be11e258
...
...
@@ -1062,8 +1062,8 @@ if (strcmp(mypars->ls_method, "sw") == 0) {
clReleaseMemObject(mem_gradpars_conformation_min_perturbation);
*/
// Release all
local-search
kernels,
// regarless of the chosen method for execution.
// Release all kernels,
// regar
d
less of the chosen
local-search
method for execution.
// Otherwise, memory leak in clCreateKernel()
clReleaseKernel
(
kernel1
);
clReleaseKernel
(
kernel2
);
...
...
wrapcl/src/ImportSource.cpp
View file @
be11e258
...
...
@@ -189,7 +189,7 @@ int ImportSource(const char* filename,
}
#endif
// Release all programs.
// Release all program
object
s.
// Otherwise, memory leak in clCreateProgramWithSource()
clReleaseProgram
(
local_program
);
...
...
Write
Preview
Supports
Markdown
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