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:
Baptiste Roux
2025-07-01 10:29:24 +02:00
committed by B. Roux
parent 303f67fe11
commit 24572edb1c
26 changed files with 113 additions and 70 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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]}

View File

@@ -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]}

View File

@@ -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]}

View File

@@ -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]}

View File

@@ -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]}

View File

@@ -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]}

View File

@@ -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]}