Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precision=64 is not considered fixed-precision mode #164

Open
lindstro opened this issue Jun 10, 2022 · 0 comments
Open

Precision=64 is not considered fixed-precision mode #164

lindstro opened this issue Jun 10, 2022 · 0 comments

Comments

@lindstro
Copy link
Member

After calling zfp_stream_set_precision(stream, 64), zfp_stream_compression_mode(stream) returns zfp_mode_expert rather than the expected zfp_mode_fixed_precision. This is a result of zfp_stream_set_precision(stream, 64) not constraining any of the four expert-mode parameters, leaving them at their default values, which is a state currently considered expert mode. This behavior has an unintended effect on back-ends like CUDA that currently support fixed precision but not expert mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant