Commit eba872d4 authored by lvs's avatar lvs
Browse files

corrected num elems copied with async copy in krnl1, #26

parent 243b0ed7
...@@ -84,7 +84,7 @@ gpu_calc_initpop( ...@@ -84,7 +84,7 @@ gpu_calc_initpop(
// Copying genotype from global memory // Copying genotype from global memory
event_t ev = async_work_group_copy(genotype, event_t ev = async_work_group_copy(genotype,
dockpars_conformations_current + GENOTYPE_LENGTH_IN_GLOBMEM*get_group_id(0), dockpars_conformations_current + GENOTYPE_LENGTH_IN_GLOBMEM*get_group_id(0),
GENOTYPE_LENGTH_IN_GLOBMEM, 0); ACTUAL_GENOTYPE_LENGTH, 0);
// Determining run-ID // Determining run-ID
if (get_local_id(0) == 0) { if (get_local_id(0) == 0) {
......
Supports Markdown
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