OpenMined / OpenMined/TenSEAL

CKKSVector: use multithreading for sum_inplace

Open
#243 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Good first issue :mortar_board: Type: New Feature :heavy_plus_sign:
Dominant language
C++
Stars
1k
Forks
175
Avg merge
6d 12h
Merged PRs (30d)
5

Description

Description

The sum_inplace operation of the CKKSVector can be done using multithreading.

More precisely, we can parallelize this loop.

You can see an example of how to use the existing threadpool here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in tenseal/cpp/tensors/ckksvector.cpp at the sum_inplace loop linked in the issue. Compare it with the existing threadpool usage in tenseal/cpp/tensors/ckkstensor.cpp. Done means the CKKSVector sum_inplace loop uses the threadpool while preserving the operation's behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cryptography
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.