mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-08 14:23:53 -05:00
feat(hpu): Add support for centered modswitch.
Add new field in HpuPBSParameters (log2_pfail and modulus_switch_type). Also add new parameters set definition in shortint for benchmark matching. Remove the used of use_mean_compensation register, this information is now embedded inside the parameters set definition. Update psi64.hpu archive with newest bitstream
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
message_width= 2
|
||||
carry_width= 2
|
||||
ciphertext_width= 44
|
||||
log2_p_fail=-64
|
||||
modulus_switch_type= "Standard"
|
||||
|
||||
[ntt_params]
|
||||
core_arch="WmmUnfoldPcg"
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
message_width=2
|
||||
carry_width=2
|
||||
ciphertext_width=44
|
||||
log2_p_fail=-64
|
||||
modulus_switch_type= "Standard"
|
||||
|
||||
[ntt_params]
|
||||
core_arch="WmmCompactPcg"
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
message_width= 2
|
||||
carry_width= 2
|
||||
ciphertext_width= 64
|
||||
log2_p_fail=-64
|
||||
modulus_switch_type= "Standard"
|
||||
|
||||
[ntt_params]
|
||||
core_arch= {GF64=[5,5]}
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
message_width=2
|
||||
carry_width=2
|
||||
ciphertext_width=64
|
||||
log2_p_fail=-64
|
||||
modulus_switch_type= "Standard"
|
||||
|
||||
[ntt_params]
|
||||
core_arch= {GF64=[5,5]}
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
message_width= 2
|
||||
carry_width= 2
|
||||
ciphertext_width= 64
|
||||
log2_p_fail=-64
|
||||
modulus_switch_type= "Standard"
|
||||
|
||||
[ntt_params]
|
||||
core_arch= {GF64=[5,6]}
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
carry_width= 2
|
||||
ciphertext_width= 64
|
||||
opportunistic=true
|
||||
log2_p_fail=-64
|
||||
modulus_switch_type= "Standard"
|
||||
|
||||
[ntt_params]
|
||||
core_arch= {GF64=[5,6]}
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
message_width=2
|
||||
carry_width=2
|
||||
ciphertext_width=64
|
||||
log2_p_fail=-64
|
||||
modulus_switch_type= "Standard"
|
||||
|
||||
[ntt_params]
|
||||
core_arch= {GF64=[5,6]}
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
carry_width= 2
|
||||
ciphertext_width= 64
|
||||
opportunistic=true
|
||||
log2_p_fail=-128
|
||||
modulus_switch_type= "CenteredMeanNoiseReduction"
|
||||
|
||||
[ntt_params]
|
||||
core_arch= {GF64=[5,6]}
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
carry_width= 2
|
||||
ciphertext_width= 64
|
||||
opportunistic=true
|
||||
log2_p_fail=-64
|
||||
modulus_switch_type= "Standard"
|
||||
|
||||
[ntt_params]
|
||||
core_arch= {GF64=[5,6]}
|
||||
|
||||
Reference in New Issue
Block a user