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
def58687
Commit
def58687
authored
Nov 10, 2018
by
Leonardo Solis
Browse files
#31, corrected another setArg: size of Host_RunId
Former-commit-id:
7626ee02
parent
bd83e711
Changes
1
Hide whitespace changes
Inline
Side-by-side
ofdock_taskpar_xl/host/src/performdocking.cpp
View file @
def58687
...
...
@@ -822,10 +822,11 @@ filled with clock() */
printf
(
" %u"
,
run_cnt
+
1
);
fflush
(
stdout
);
#ifdef ENABLE_KRNL_GA
unsigned
int
Host_Offset_Pop
=
run_cnt
*
dockpars
.
pop_size
*
ACTUAL_GENOTYPE_LENGTH
;
unsigned
int
Host_Offset_Ene
=
run_cnt
*
dockpars
.
pop_size
;
kernel_ga
.
setArg
(
16
,
run_cnt
);
#ifdef ENABLE_KRNL_GA
unsigned
short
ushort_run_cnt
=
(
unsigned
ushort
)
run_cnt
;
unsigned
int
Host_Offset_Pop
=
run_cnt
*
dockpars
.
pop_size
*
ACTUAL_GENOTYPE_LENGTH
;
unsigned
int
Host_Offset_Ene
=
run_cnt
*
dockpars
.
pop_size
;
kernel_ga
.
setArg
(
16
,
ushort_run_cnt
);
kernel_ga
.
setArg
(
17
,
Host_Offset_Pop
);
kernel_ga
.
setArg
(
18
,
Host_Offset_Ene
);
#endif
...
...
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