Skip to content

Commit 514b005

Browse files
committed
Measure output bytes in cuda bitunpack benchmarks
Signed-off-by: Robert Kruszewski <github@robertk.io>
1 parent 9bad56b commit 514b005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vortex-cuda/benches/bitpacked_cuda.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ where
114114
group.sample_size(10);
115115

116116
let array = make_bitpacked_array::<T>(bit_width, N_ROWS);
117-
let nbytes = (N_ROWS * bit_width as usize).div_ceil(8);
117+
let nbytes = N_ROWS * size_of::<T>();
118118

119119
group.throughput(Throughput::Bytes(nbytes as u64));
120120

0 commit comments

Comments
 (0)