NVIDIA/nvcomp

[QST] How do i get compressed buffer (or compressed buffer size)?

andreamartini opened this issue · 3 comments

I follow the high_level_quickstart_example and try to use high level api. In particular i'm facing with the decomp_compressed_with_manager_factory_example method. I am wondering if it is possible to achieve the compressed buffer (or the seze of compressed buffer), in order to use it to save on disk (as binary raw data) or to send in on the network.
Thank you in advance
Kind regards

I try to answer my own question. The right code i should look at is low_level_quickstart_example.cpp. I get compressed buffer using device_compressed_ptrs and device_compressed_bytes: to access to these data, a copy from Device to Host needed. Hope to be useful. Kind Regards

This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.

This issue has been labeled inactive-90d due to no recent activity in the past 90 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed.