Skip to content

Commit dd2c016

Browse files
committed
removed commented out old code
Signed-off-by: todd.erdner <[email protected]>
1 parent 0c577d3 commit dd2c016

File tree

1 file changed

+0
-3
lines changed
  • DirectProgramming/DPC++/ParallelPatterns/dpc_reduce/src

1 file changed

+0
-3
lines changed

DirectProgramming/DPC++/ParallelPatterns/dpc_reduce/src/main.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,6 @@ float calc_pi_dpstd_native4(size_t num_steps, int groups, Policy&& policy) {
497497
countby2 *= 2;
498498
} while (countby2 < n_groups);
499499
}
500-
// float answer = temp_buf.template get_access<access::mode::read_write>()[0];
501-
// result = answer / (float)num_steps;
502-
503500
host_accessor answer(temp_buf,read_only) ;
504501
return answer[0]/(float)num_steps;
505502
}

0 commit comments

Comments
 (0)