ZFP header for GPU compression
- Dominant language
- C++
- Stars
- 885
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
Dear all,
I am trying to generate a `.zfp` file with a header using CUDA. Using the zfp util on the command line, a serial test gives:
```sh
zfp -f -3 201 201 2412 -r 4 -x serial -i snaps.bin -z test.zfp -h
```
`test.zfp` has size `50188912` and can be correctly decompressed using:
```sh
zfp -h -z test.zfp -o test.bin
```
But doing the same with the `cuda` flag, i.e.:
```sh
zfp -f -3 201 201 2412 -r 4 -x cuda -i snaps.bin -z test.zfp -h
```
Now `test.zfp` has size `50188896`, and
```sh
zfp -h -z test.zfp -o test.bin
```
gives ` incorrect or missing header`. When doing the decompression with all the parameters, it works perfectly. How could I put this header when doing the compression on the GPU?
Thanks in advance,
Victor
Contributor guide
Research direction
Start by reproducing the serial and CUDA command-line runs shown in the issue and compare the resulting .zfp files and decompression behavior. Trace the command-line header option through the GPU compression path; done means a CUDA-compressed file produced with -h can be decompressed with the header-only command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100