Skip to content

Commit 9c96d68

Browse files
committed
switched bandwidth calculation from 1024**3 to 10**9 for consistency with product documentation
1 parent 30706bc commit 9c96d68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

series/cuda-fortran/transpose.cuf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ contains
307307
subroutine postprocess(ref, res, t)
308308
real, intent(in) :: ref(:,:), res(:,:), t ! host reference, result and time
309309
if (all(res == ref)) then
310-
write(*,'(f20.2)') 2.*1000*mem_size/(1024**3 * t/NUM_REPS)
310+
write(*,'(f20.2)') 2.*1000*mem_size/(10**9 * t/NUM_REPS)
311311
else
312312
write(*,'(a20)') '*** Failed ***'
313313
end if

0 commit comments

Comments
 (0)