Skip to content

Commit

Permalink
doc(gpu): use multi bit PBS with compression
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeul-zama committed Jan 27, 2025
1 parent be3d997 commit 2cb99e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tfhe/docs/guides/run_on_gpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ The following example shows how to compress and decompress a list containing 4 m
```rust
use tfhe::prelude::*;
use tfhe::shortint::parameters::{
COMP_PARAM_MESSAGE_2_CARRY_2, PARAM_MESSAGE_2_CARRY_2,
COMP_PARAM_MESSAGE_2_CARRY_2, PARAM_GPU_MULTI_BIT_MESSAGE_2_CARRY_2_GROUP_3_KS_PBS,
};
use tfhe::{
set_server_key, CompressedCiphertextList, CompressedCiphertextListBuilder, FheBool,
Expand All @@ -195,7 +195,7 @@ use tfhe::{

fn main() {
let config =
tfhe::ConfigBuilder::with_custom_parameters(PARAM_MESSAGE_2_CARRY_2)
tfhe::ConfigBuilder::with_custom_parameters(PARAM_GPU_MULTI_BIT_MESSAGE_2_CARRY_2_GROUP_3_KS_PBS)
.enable_compression(COMP_PARAM_MESSAGE_2_CARRY_2)
.build();

Expand Down

0 comments on commit 2cb99e8

Please sign in to comment.