mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-06 21:34:05 -05:00
This backend abstract communication with Hpu Fpga hardware.
It define it's proper entities to prevent circular dependencies with
tfhe-rs.
Object lifetime is handle through Arc<Mutex<T>> wrapper, and enforce
that all objects currently alive in Hpu Hw are also kept valid on the
host side.
It contains the second version of HPU instruction set (HIS_V2.0):
* DOp have following properties:
+ Template as first class citizen
+ Support of Immediate template
+ Direct parser and conversion between Asm/Hex
+ Replace deku (and it's associated endianess limitation) by
+ bitfield_struct and manual parsing
* IOp have following properties:
+ Support various number of Destination
+ Support various number of Sources
+ Support various number of Immediat values
+ Support of multiple bitwidth (Not implemented yet in the Fpga
firmware)
Details could be view in `backends/tfhe-hpu-backend/Readme.md`
24 lines
614 B
TOML
24 lines
614 B
TOML
[default]
|
|
extend-ignore-identifiers-re = [
|
|
# Related to serialized object
|
|
"ser",
|
|
"unser",
|
|
# Used when dumping tfhe-rs parameters set into Sage format
|
|
"ND.*",
|
|
# Related to FHE strings example handling "banana"
|
|
"ba",
|
|
"enc_ba",
|
|
# Example with string replacing "hello" with "herlo"
|
|
"herlo",
|
|
# Example in trivium
|
|
"C9217BA0D762ACA1",
|
|
"0x[0-9a-fA-F]+"
|
|
]
|
|
|
|
[files]
|
|
extend-exclude = [
|
|
"backends/tfhe-cuda-backend/cuda/src/fft128/twiddles.cu",
|
|
"backends/tfhe-cuda-backend/cuda/src/fft/twiddles.cu",
|
|
"backends/tfhe-hpu-backend/config_store/**/*.link_summary",
|
|
]
|