Files
tfhe-rs/tfhe/docs/getting-started/benchmarks/gpu/gpu-integer-operations.md
Arthur Meyre bd739c2d48 chore(docs): uniformize paths in docs to use "-" instead of "_"
- this is to avoid conflicts with gitbook
2025-07-09 14:36:04 +02:00

1.2 KiB

Integer Operations over GPU

This document details the GPU performance benchmarks of homomorphic operations on integers using TFHE-rs.

{% hint style="info" %} All GPU benchmarks were launched on H100 GPUs, and rely on the multithreaded PBS algorithm. {% endhint %}

The cryptographic parameters PARAM_GPU_MULTI_BIT_GROUP_4_MESSAGE_2_CARRY_2_KS_PBS were used.

Pfail: 2^{-128}

8xH100-SXM5

Below come the results for the execution on eight H100 using SXM technology. The following table shows the performance when the inputs of the benchmarked operation are encrypted:

The following table shows the performance when the left input of the benchmarked operation is encrypted and the other is a clear scalar of the same size:

Reproducing TFHE-rs benchmarks

TFHE-rs benchmarks can be easily reproduced from the source.

The following example shows how to reproduce TFHE-rs benchmarks:

#Integer benchmarks:
make bench_integer_gpu