Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
philsippl committed Sep 10, 2024
1 parent 8f582cd commit e519e22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iris-mpc-gpu/src/dot/share_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,8 @@ mod tests {
for i in 0..DB_SIZE * QUERY_SIZE / n_devices {
assert_eq!(
(gpu_result[0][i] + gpu_result[1][i] + gpu_result[2][i]),
(db.db[i / (DB_SIZE / n_devices)].mask & db.db[i % (DB_SIZE / n_devices)].mask)
(db.db[i / (DB_SIZE / n_devices)].mask
& db.db[(i % (DB_SIZE / n_devices)) * n_devices].mask)
.count_ones() as u16
);
}
Expand Down

0 comments on commit e519e22

Please sign in to comment.