# OpenFHE Hardware Acceleration

**URL:** https://openfhe.discourse.group/c/openfhe-hexl/10.md

[Latest](https://openfhe.discourse.group/latest.md) · [Categories](https://openfhe.discourse.group/categories.md) · [Tags](https://openfhe.discourse.group/tags.md)

---

## [About the OpenFHE Hardware Acceleration category](https://openfhe.discourse.group/t/about-the-openfhe-hardware-acceleration-category/19)

<div class="topic-metadata">

**Author:** [@iquah](https://openfhe.discourse.group/u/iquah)\
**Replies:** 0

</div>

Discussions around various hardware backends should be under this umbrella. One such supported backend is Intel’s Homomorphic Encryption Acceleration Library(HEXL)

---

## [Subject: Seeking help: Segmentation fault in homomorphic PageRank with patched OpenFHE v1.2.3 for large graphs](https://openfhe.discourse.group/t/subject-seeking-help-segmentation-fault-in-homomorphic-pagerank-with-patched-openfhe-v1-2-3-for-large-graphs/2263)

<div class="topic-metadata">

**Author:** [@XuetaoCHEN](https://openfhe.discourse.group/u/XuetaoCHEN)\
**Replies:** 9\
**Last updated:** [May 15, 2026, 11:15am UTC](https://openfhe.discourse.group/t/subject-seeking-help-segmentation-fault-in-homomorphic-pagerank-with-patched-openfhe-v1-2-3-for-large-graphs/2263 "2026-05-15T11:15:14Z")

</div>

Hello OpenFHE community, I’m working on implementing a homomorphic PageRank algorithm using OpenFHE and encountering an issue that I hope some of you might have insights into. Context: I’ve implemented PageRank usin…

---

## [OpenFHE on AMD APUs](https://openfhe.discourse.group/t/openfhe-on-amd-apus/2188)

<div class="topic-metadata">

**Author:** [@mpuskaric](https://openfhe.discourse.group/u/mpuskaric)\
**Replies:** 4\
**Last updated:** [March 12, 2026, 6:01pm UTC](https://openfhe.discourse.group/t/openfhe-on-amd-apus/2188 "2026-03-12T18:01:38Z")

</div>

Hi, I’ve been experimenting with running parts of the OpenFHE library on the AMD MI300A APU \[1\], which, unlike a discrete GPU, provides unified shared memory between its CPU and GPU cores. After profiling and consideri…

---

## [OpenFHE v1.4.2+ with HEXL: supported branch/tag?](https://openfhe.discourse.group/t/openfhe-v1-4-2-with-hexl-supported-branch-tag/2288)

<div class="topic-metadata">

**Author:** [@Gabba](https://openfhe.discourse.group/u/Gabba)\
**Replies:** 1\
**Last updated:** [March 2, 2026, 7:03pm UTC](https://openfhe.discourse.group/t/openfhe-v1-4-2-with-hexl-supported-branch-tag/2288 "2026-03-02T19:03:59Z")

</div>

Hi all, I’m benchmarking CKKS workloads on an AVX-512 capable AWS Intel Xeon (Ice Lake). I’d like to use OpenFHE v1.4.2 (stable) or newer (e.g., v1.5.0 dev). However, the official openfhe-hexl README states it “can be …

---

## [FIDESlib: Error when doing rotations/cipher by cipher multiplications](https://openfhe.discourse.group/t/fideslib-error-when-doing-rotations-cipher-by-cipher-multiplications/2275)

<div class="topic-metadata">

**Author:** [@sawyerrice](https://openfhe.discourse.group/u/sawyerrice)\
**Replies:** 2\
**Last updated:** [February 12, 2026, 7:49pm UTC](https://openfhe.discourse.group/t/fideslib-error-when-doing-rotations-cipher-by-cipher-multiplications/2275 "2026-02-12T19:49:18Z")

</div>

Hello, I keep experiencing this same error when doing any multiplications or ciphertext by ciphertext multiplications (scalar multiplications do not trigger the error): ‘std::out\_of\_range’ what(): vector::\_M\_range\_che…

---

## [Cannot build OpenFHE with HEXL Accellerator](https://openfhe.discourse.group/t/cannot-build-openfhe-with-hexl-accellerator/1897)

<div class="topic-metadata">

**Author:** [@asterkin](https://openfhe.discourse.group/u/asterkin)\
**Replies:** 2\
**Last updated:** [February 4, 2026, 4:47pm UTC](https://openfhe.discourse.group/t/cannot-build-openfhe-with-hexl-accellerator/1897 "2026-02-04T16:47:34Z")

</div>

g++ and clang compilers just fail like this: \[ 51%\] Building CXX object src/pke/CMakeFiles/pkeobj.dir/lib/schemerns/rns-pke.cpp.o g+±10: fatal error: Killed signal terminated program cc1plus I tried this build with WL…

---

## [Can I use Intel compilers (icx, icpx) with the HEXL library?](https://openfhe.discourse.group/t/can-i-use-intel-compilers-icx-icpx-with-the-hexl-library/2267)

<div class="topic-metadata">

**Author:** [@cappuccino](https://openfhe.discourse.group/u/cappuccino)\
**Replies:** 2\
**Last updated:** [February 4, 2026, 6:21am UTC](https://openfhe.discourse.group/t/can-i-use-intel-compilers-icx-icpx-with-the-hexl-library/2267 "2026-02-04T06:21:25Z")

</div>

Hi, I’m researching how to accelerate cryptographic processing using the OpenFHE library with HEXL. Is it currently possible to build the OpenFHE library with HEXL using Intel compilers (icx, icpx) other than clang or …

---

## [Optimizing HEXL parameters](https://openfhe.discourse.group/t/optimizing-hexl-parameters/2268)

<div class="topic-metadata">

**Author:** [@cappuccino](https://openfhe.discourse.group/u/cappuccino)\
**Replies:** 2\
**Last updated:** [January 25, 2026, 12:36pm UTC](https://openfhe.discourse.group/t/optimizing-hexl-parameters/2268 "2026-01-25T12:36:24Z")

</div>

Hi, According to https://github.com/openfheorg/openfhe-development/blob/main/docs/static\_docs/Best\_Performance.md, it’s said that to take advantage of AVX512\_IFMA optimizations, the small moduli should be below 50 bits.…

---

## [Grafting vs Composite Scaling](https://openfhe.discourse.group/t/grafting-vs-composite-scaling/2086)

<div class="topic-metadata">

**Author:** [@srovira](https://openfhe.discourse.group/u/srovira)\
**Replies:** 2\
**Last updated:** [July 9, 2025, 6:44am UTC](https://openfhe.discourse.group/t/grafting-vs-composite-scaling/2086 "2025-07-09T06:44:14Z")

</div>

Dear all, I’ve seen that composite scaling has been included in the new version 1.3.0. I’m wondering if someone would be able to clarify the state-of-the-art regarding scaling techniques when it comes to using CKKS with…

---

## [Integrating FPGA Accelerator into OpenFHE](https://openfhe.discourse.group/t/integrating-fpga-accelerator-into-openfhe/1604)

<div class="topic-metadata">

**Author:** [@B1ankScript](https://openfhe.discourse.group/u/B1ankScript)\
**Replies:** 1\
**Last updated:** [June 6, 2025, 7:29pm UTC](https://openfhe.discourse.group/t/integrating-fpga-accelerator-into-openfhe/1604 "2025-06-06T19:29:55Z")

</div>

Hello, I want to create a CPU-FPGA heterogeneous FHE accelerator now. The CPU and FPGA are connected using PCIe, and the host uses Xilinx OpenCL to interact with Xilinx Alveo U280 FPGA. I want to write HLS kernel functi…

---

## [HEXL Add is Disabled By Default](https://openfhe.discourse.group/t/hexl-add-is-disabled-by-default/1999)

<div class="topic-metadata">

**Author:** [@eymay](https://openfhe.discourse.group/u/eymay)\
**Replies:** 1\
**Last updated:** [April 17, 2025, 5:06pm UTC](https://openfhe.discourse.group/t/hexl-add-is-disabled-by-default/1999 "2025-04-17T17:06:41Z")

</div>

Hi, In openfhe-hexl repo, HEXL\_ADD\_ENABLE flag seems to be disabled by default as seen here. Is there a special reason why it is not enabled? Kindly

---

## [Plans for GPU Support (BFV, TFHE, CKKS)](https://openfhe.discourse.group/t/plans-for-gpu-support-bfv-tfhe-ckks/1329)

<div class="topic-metadata">

**Author:** [@gogo9th](https://openfhe.discourse.group/u/gogo9th)\
**Replies:** 2\
**Last updated:** [February 11, 2025, 11:39pm UTC](https://openfhe.discourse.group/t/plans-for-gpu-support-bfv-tfhe-ckks/1329 "2025-02-11T23:39:26Z")

</div>

Hi, I wonder if someone is working on GPU support for BFV, TFHE, and CKKS each. We need BFV’s GPU support by the end on August. If no one is working on it, we plan to implement it (possibly contributing to the OpenFHE …

---

## [OpenFHE HEXL cmake inclusion error](https://openfhe.discourse.group/t/openfhe-hexl-cmake-inclusion-error/1622)

<div class="topic-metadata">

**Author:** [@jachiang](https://openfhe.discourse.group/u/jachiang)\
**Replies:** 1\
**Last updated:** [October 5, 2024, 10:56am UTC](https://openfhe.discourse.group/t/openfhe-hexl-cmake-inclusion-error/1622 "2024-10-05T10:56:06Z")

</div>

Hello, I am using the CMake template file from the OpenFHE repository for a project. When installing OpenFHE with the configurator, opting for the HEXL backend seems to build and install correctly, but I am getting the…

---

## [Cant find EvalMult() defined](https://openfhe.discourse.group/t/cant-find-evalmult-defined/1372)

<div class="topic-metadata">

**Author:** [@bwade](https://openfhe.discourse.group/u/bwade)\
**Replies:** 3\
**Last updated:** [June 30, 2024, 5:38pm UTC](https://openfhe.discourse.group/t/cant-find-evalmult-defined/1372 "2024-06-30T17:38:11Z")

</div>

I was thinking of trying to use Cuda to speed up some operations. So far I was just looking for the EvalMult() function so I can better understand what is going on there, but I cannot seem to find it? Can someone tell me…

---

## [Polynomial Multiplication & other high-level operations on hardware backend](https://openfhe.discourse.group/t/polynomial-multiplication-other-high-level-operations-on-hardware-backend/336)

<div class="topic-metadata">

**Author:** [@homer\_g](https://openfhe.discourse.group/u/homer_g)\
**Replies:** 6\
**Last updated:** [June 6, 2024, 6:34am UTC](https://openfhe.discourse.group/t/polynomial-multiplication-other-high-level-operations-on-hardware-backend/336 "2024-06-06T06:34:55Z")

</div>

I would like to implement polynomial multiplication and other higher-level operations using a hardware-integrated backend implemented through the hardware abstraction layer. I investigated the current backends that are …

---

## [GPU Acceleration of OpenFHE - GPU memory](https://openfhe.discourse.group/t/gpu-acceleration-of-openfhe-gpu-memory/1043)

<div class="topic-metadata">

**Author:** [@thefrankinator7](https://openfhe.discourse.group/u/thefrankinator7)\
**Replies:** 1\
**Last updated:** [January 26, 2024, 6:59pm UTC](https://openfhe.discourse.group/t/gpu-acceleration-of-openfhe-gpu-memory/1043 "2024-01-26T18:59:05Z")

</div>

Hi, I am investigating hardware acceleration of homomorphic operations on GPUs. In the design paper this seems to be something that should theoretically be supported through the hardware acceleration layer, however I am…

---

## [Creating GPU Backend](https://openfhe.discourse.group/t/creating-gpu-backend/928)

<div class="topic-metadata">

**Author:** [@thefrankinator7](https://openfhe.discourse.group/u/thefrankinator7)\
**Replies:** 3\
**Last updated:** [November 27, 2023, 11:03pm UTC](https://openfhe.discourse.group/t/creating-gpu-backend/928 "2023-11-27T23:03:00Z")

</div>

Hi, I am currently doing research on the acceleration of FHE using GPUs. I am playing around with some acceleration of openFHE on AMD GPUs using code written in HIP. Is there currently a GPU backend in development? I a…

---

## [Intel HEXL AVX512 Bug](https://openfhe.discourse.group/t/intel-hexl-avx512-bug/789)

<div class="topic-metadata">

**Author:** [@miiip](https://openfhe.discourse.group/u/miiip)\
**Replies:** 2\
**Last updated:** [October 4, 2023, 7:09pm UTC](https://openfhe.discourse.group/t/intel-hexl-avx512-bug/789 "2023-10-04T19:09:15Z")

</div>

Hi, I think there is a bug in the build system. Here are the steps to reproduce it: When I start the building process I am in the /home/ec2-user location (here I run git clone https://github.com/openfheorg/openfhe-conf…

---

## [No acceleration on Intel HEXL AVX512](https://openfhe.discourse.group/t/no-acceleration-on-intel-hexl-avx512/783)

<div class="topic-metadata">

**Author:** [@miiip](https://openfhe.discourse.group/u/miiip)\
**Replies:** 3\
**Last updated:** [September 3, 2023, 1:41pm UTC](https://openfhe.discourse.group/t/no-acceleration-on-intel-hexl-avx512/783 "2023-09-03T13:41:54Z")

</div>

Hi all, I’m trying to perform benchmarking for comparison operations using a m6i.metal backend with AVX512. I followed the guide from here to build and install OpenFHE. The only difference is that I modified the vars.sh …

---

## [Integrating FPGA-based function call with OpenFHE](https://openfhe.discourse.group/t/integrating-fpga-based-function-call-with-openfhe/694)

<div class="topic-metadata">

**Author:** [@geoago](https://openfhe.discourse.group/u/geoago)\
**Replies:** 1\
**Last updated:** [July 14, 2023, 1:43pm UTC](https://openfhe.discourse.group/t/integrating-fpga-based-function-call-with-openfhe/694 "2023-07-14T13:43:30Z")

</div>

Hello, I am using Xilinx Vitis 2022.2 and I have created an application project which includes a function with an interface that can be used by OpenFHE to substitute a build-in function call. This function is launched o…

---

## [Question regarding Intel HEXL and Intel HEXL-FPGA](https://openfhe.discourse.group/t/question-regarding-intel-hexl-and-intel-hexl-fpga/604)

<div class="topic-metadata">

**Author:** [@geoago](https://openfhe.discourse.group/u/geoago)\
**Replies:** 4\
**Last updated:** [June 9, 2023, 11:28pm UTC](https://openfhe.discourse.group/t/question-regarding-intel-hexl-and-intel-hexl-fpga/604 "2023-06-09T23:28:21Z")

</div>

I was looking at the APIs provided by Intel HEXL (which is also compatible with OpenFHE) and Intel HEXL-FPGA and I noticed that in the case of the Intel HEXL-FPGA in the host side for the NTT one of the arguments is cons…

---

## [GPU acceleration](https://openfhe.discourse.group/t/gpu-acceleration/577)

<div class="topic-metadata">

**Author:** [@miiip](https://openfhe.discourse.group/u/miiip)\
**Replies:** 1\
**Last updated:** [May 26, 2023, 6:43pm UTC](https://openfhe.discourse.group/t/gpu-acceleration/577 "2023-05-26T18:43:24Z")

</div>

Hi! In the design paper it is said that OpenFHE supports GPU and AVX acceleration. How can I enable GPU acceleration? I have an Nvidia RTX A 2000. Thank you!

---

## [Intel HEXL AVX512 hardware acceleration backend](https://openfhe.discourse.group/t/intel-hexl-avx512-hardware-acceleration-backend/254)

<div class="topic-metadata">

**Author:** [@ypolyakov](https://openfhe.discourse.group/u/ypolyakov)\
**Replies:** 0\
**Last updated:** [December 1, 2022, 1:07am UTC](https://openfhe.discourse.group/t/intel-hexl-avx512-hardware-acceleration-backend/254 "2022-12-01T01:07:31Z")

</div>

Check out GitHub - openfheorg/openfhe-hexl to improve the performance of BGV, BFV, and CKKS in OpenFHE on Intel systems with AVX512 support.
