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-fpga
Commits
d1529db6
Commit
d1529db6
authored
Nov 10, 2018
by
Leonardo Solis
Browse files
#31, corrected property of energy cl_mem: for kernel is write-only
parent
47e45807
Changes
1
Show whitespace changes
Inline
Side-by-side
ofdock_taskpar_xl/host/src/performdocking.cpp
View file @
d1529db6
...
...
@@ -390,7 +390,7 @@ filled with clock() */
// Krnl_GA buffers
cl
::
Buffer
mem_dockpars_conformations_current
(
context
,
CL_MEM_USE_HOST_PTR
|
CL_MEM_READ_WRITE
,
size_populations_nbytes
,
cpu_init_populations
.
data
());
cl
::
Buffer
mem_dockpars_energies_current
(
context
,
CL_MEM_USE_HOST_PTR
|
CL_MEM_
READ_
WRITE
,
cl
::
Buffer
mem_dockpars_energies_current
(
context
,
CL_MEM_USE_HOST_PTR
|
CL_MEM_WRITE
_ONLY
,
size_energies_nbytes
,
cpu_energies
.
data
());
cl
::
Buffer
mem_evals_performed
(
context
,
CL_MEM_USE_HOST_PTR
|
CL_MEM_WRITE_ONLY
,
size_evals_of_runs_nbytes
,
cpu_evals_of_runs
.
data
());
...
...
@@ -464,7 +464,6 @@ filled with clock() */
// Krnl_GA
inBufVec
.
push_back
(
mem_dockpars_conformations_current
);
// RD & WR
inBufVec
.
push_back
(
mem_dockpars_energies_current
);
// RD & WR
// Krnl_Conform
inBufVec
.
push_back
(
mem_KerConstStatic_rotlist_const
);
inBufVec
.
push_back
(
mem_KerConstStatic_ref_coords_const
);
...
...
@@ -490,7 +489,7 @@ filled with clock() */
// Krnl_GA
outBufVec
.
push_back
(
mem_dockpars_conformations_current
);
// RD & WR
outBufVec
.
push_back
(
mem_dockpars_energies_current
);
//
RD &
WR
outBufVec
.
push_back
(
mem_dockpars_energies_current
);
// WR
outBufVec
.
push_back
(
mem_evals_performed
);
outBufVec
.
push_back
(
mem_gens_performed
);
...
...
Leonardo Solis
@solis
mentioned in commit
86f2784f
·
Jan 04, 2021
mentioned in commit
86f2784f
mentioned in commit 86f2784fbde7ce5d63113739179dfb318537b3a5
Toggle commit list
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