Skip to content

Commit

Permalink
give up on nvcompBatchedCascadedOpts_t
Browse files Browse the repository at this point in the history
  • Loading branch information
vuule committed Nov 8, 2023
1 parent 9fd17d0 commit 390db36
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions python/kvikio/_lib/libnvcomp.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ from kvikio._lib.nvcomp_cxx_api cimport (
nvcompBatchedANSDefaultOpts,
nvcompBatchedANSOpts_t,
nvcompBatchedBitcompFormatOpts,
nvcompBatchedCascadedDefaultOpts,
nvcompBatchedCascadedOpts_t,
nvcompBatchedGdeflateOpts_t,
nvcompBatchedLZ4Opts_t,
Expand Down Expand Up @@ -186,16 +187,9 @@ cdef class _CascadedManager(_nvcompManager):
user_stream,
const int device_id,
):
cdef opts = nvcompBatchedCascadedOpts_t(
_options["chunk_size"],
_options["type"],
_options["num_RLEs"],
_options["num_deltas"],
_options["use_bp"]
)
self._impl = <nvcompManagerBase*>new CascadedManager(
_options["chunk_size"],
opts,
<nvcompBatchedCascadedOpts_t>nvcompBatchedCascadedDefaultOpts, # TODO
<cudaStream_t><void*>0, # TODO
device_id,
)
Expand Down

0 comments on commit 390db36

Please sign in to comment.