mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-09 14:47:56 -05:00
WIP: run compression throughput pbench with 1500 elems + bench only 64 bits cts
This commit is contained in:
@@ -185,13 +185,13 @@ mod cuda {
|
||||
let private_compression_key = cks.new_compression_private_key(comp_param);
|
||||
|
||||
for bit_size in [
|
||||
2,
|
||||
8,
|
||||
16,
|
||||
32,
|
||||
// 2,
|
||||
// 8,
|
||||
// 16,
|
||||
// 32,
|
||||
64,
|
||||
128,
|
||||
256,
|
||||
// 128,
|
||||
// 256,
|
||||
comp_param.lwe_per_glwe.0 * log_message_modulus,
|
||||
] {
|
||||
assert_eq!(bit_size % log_message_modulus, 0);
|
||||
@@ -267,7 +267,8 @@ mod cuda {
|
||||
|
||||
let num_block = (bit_size as f64 / (param.message_modulus.0 as f64).log(2.0))
|
||||
.ceil() as usize;
|
||||
let elements = throughput_num_threads(num_block, pbs_count);
|
||||
// let elements = throughput_num_threads(num_block, pbs_count);
|
||||
let elements = 1500;
|
||||
bench_group.throughput(Throughput::Elements(elements));
|
||||
|
||||
// Encrypt
|
||||
|
||||
Reference in New Issue
Block a user