Commit 261c5d57 authored by Leonardo Solis's avatar Leonardo Solis
Browse files

#38, ga-sdx174 - removed unused LS args and host vars

parent 0637eff4
......@@ -117,7 +117,6 @@ void Krnl_GA(
float Host_two_absmaxdmov,
float Host_two_absmaxdang,
float DockConst_crossover_rate,
unsigned int DockConst_num_of_lsentities,
unsigned char DockConst_num_of_genes,
unsigned short Host_RunId,
unsigned int Host_Offset_Pop,
......@@ -136,7 +135,6 @@ void Krnl_GA(
printf("%-40s +/-%fA\n", "Host_two_absmaxdmov: ", Host_two_absmaxdmov);
printf("%-40s +/-%f°\n", "Host_two_absmaxdang: ", Host_two_absmaxdang);
printf("%-40s %f\n", "DockConst_crossover_rate: ", DockConst_crossover_rate);
printf("%-40s %u\n", "DockConst_num_of_lsentities: ", DockConst_num_of_lsentities);
printf("%-40s %u\n", "DockConst_num_of_genes: ", DockConst_num_of_genes);
#endif
......
......@@ -572,7 +572,6 @@ filled with clock() */
kernel_ga.setArg(narg++, two_absmaxdmov);
kernel_ga.setArg(narg++, two_absmaxdang);
kernel_ga.setArg(narg++, dockpars.crossover_rate);
kernel_ga.setArg(narg++, dockpars.num_of_lsentities);
kernel_ga.setArg(narg++, dockpars.num_of_genes);
// Other kernel args are configured at every docking run
#endif
......@@ -659,9 +658,6 @@ filled with clock() */
kernel_prng_gg_float.setArg(2, mem_dummy);
#endif
#endif
unsigned short Host_max_num_of_iters = (unsigned short)dockpars.max_num_of_iters;
unsigned char Host_cons_limit = (unsigned char) dockpars.cons_limit;
#ifdef ENABLE_KRNL_IGL_ARBITER
#if !defined(SW_EMU)
......@@ -680,9 +676,9 @@ filled with clock() */
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(17, ushort_run_cnt);
kernel_ga.setArg(18, Host_Offset_Pop);
kernel_ga.setArg(19, Host_Offset_Ene);
kernel_ga.setArg(16, ushort_run_cnt);
kernel_ga.setArg(17, Host_Offset_Pop);
kernel_ga.setArg(18, Host_Offset_Ene);
#endif
#ifdef ENABLE_KRNL_CONFORM
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment