-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix compression code for GPU which assumed a CPU data layout
- the CPU data layout is truncated to only store relevant bodies (i.e. emtpy bodies are assumed to be 0) but the GPU CUDA code manages full GLWEs only. To fix that we manage the data layout during conversions to have consistent behavior when copying the list to/from CPU/GPU. Compression code has been fixed on the CPU side to have the proper length for the output expected by the CUDA code
- Loading branch information
1 parent
9e4b585
commit 8756869
Showing
2 changed files
with
23 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters