Skip to content

Commit

Permalink
Reenable DeviceBuffer check since rapidsai#4332 is resolved.
Browse files Browse the repository at this point in the history
  • Loading branch information
csadorf committed Nov 22, 2022
1 parent 7a7eebd commit 13ce6fd
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions python/cuml/tests/test_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@
from hypothesis import assume, given, settings
from hypothesis import strategies as st
from numba import cuda

# Temporarily disabled due to CUDA 11.0 issue
# https://github.com/rapidsai/cuml/issues/4332
# from rmm import DeviceBuffer

from rmm import DeviceBuffer

if sys.version_info < (3, 8):
try:
Expand Down Expand Up @@ -277,9 +273,7 @@ def test_create_empty(shape, dtype, order):
assert isinstance(ary.ptr, int)
assert ary.shape == _normalized_shape(shape)
assert ary.dtype == np.dtype(dtype)
# Temporarily disabled due to CUDA 11.0 issue
# https://github.com/rapidsai/cuml/issues/4332
# assert isinstance(ary._owner.data.mem._owner, DeviceBuffer)
assert isinstance(ary._owner.data.mem._owner, DeviceBuffer)


@pytest.mark.parametrize('shape', test_shapes)
Expand Down

0 comments on commit 13ce6fd

Please sign in to comment.