Skip to content

Commit

Permalink
remove test since API is not exposed yet
Browse files Browse the repository at this point in the history
  • Loading branch information
vuule committed Nov 8, 2023
1 parent 390db36 commit 2175c6e
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions python/tests/test_nvcomp.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,28 +406,6 @@ def test_get_decompression_config_with_default_options(manager, expected):
assert result == expected


@pytest.mark.parametrize("manager", managers())
def test_set_scratch_alloc(manager):
length = 10000
dtype = cupy.uint8
data = cupy.array(
np.arange(
0,
length // cupy.dtype(dtype).type(0).itemsize,
dtype=dtype,
)
)
compressor_instance = manager()
compressor_instance.configure_compression(len(data))
# TODO set_scratch_allocators
compressor_instance.compress(data)
if isinstance(compressor_instance, libnvcomp.BitcompManager):
# Bitcomp does not use the scratch buffer
pytest.skip()
# else:
# assert (buffer[0:5] != cupy.array([0, 0, 0, 0, 0])).any()


@pytest.mark.parametrize(
"manager, expected",
zip(managers(), list(LEN.values())),
Expand Down

0 comments on commit 2175c6e

Please sign in to comment.