Skip to content

Commit

Permalink
OMP raintt
Browse files Browse the repository at this point in the history
  • Loading branch information
nindanaoto committed Apr 28, 2024
1 parent 793b35a commit f9b6b30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/cloudkey.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ void bkrainttgen(BootstrappingKeyRAINTT<P>& bkraintt,
const Key<typename P::domainP>& domainkey,
const Key<typename P::targetP>& targetkey)
{
#pragma omp parallel for
for (int i = 0; i < P::domainP::k * P::domainP::n; i++) {
Polynomial<typename P::targetP> plainpoly = {};
plainpoly[0] = domainkey[i];
Expand Down

0 comments on commit f9b6b30

Please sign in to comment.