Commit af268867 authored by lvs's avatar lvs
Browse files

corrected usage of memmap related to krnl2, #29

parent bd633ddd
......@@ -937,6 +937,12 @@ filled with clock() */
}
} // End if (dockpars.lsearch_rate != 0.0f)
// -------- Replacing with memory maps! ------------
#if defined (MAPPED_COPY)
unmemMap(command_queue,mem_gpu_evals_of_runs,map_cpu_evals_of_runs);
#endif
// -------- Replacing with memory maps! ------------
// Kernel2
#ifdef DOCK_DEBUG
printf("Start Kernel2 ... ");fflush(stdout);
......@@ -1026,13 +1032,13 @@ filled with clock() */
#endif
} // End of while-loop
/*
// -------- Replacing with memory maps! ------------
#if defined (MAPPED_COPY)
unmemMap(command_queue,mem_gpu_evals_of_runs,map_cpu_evals_of_runs);
#endif
// -------- Replacing with memory maps! ------------
*/
clock_stop_docking = clock();
......
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