Remove workaround for complex
@@ -16,7 +16,6 @@ import numpy
import six
import cupy
-from cupy.cuda import runtime
from cupy import internal
from cupy.testing import array
from cupy.testing import parameterized
@@ -623,8 +622,7 @@ def _make_all_dtypes(no_float16, no_bool, no_complex):
else:
dtypes += _int_bool_dtypes
- # TODO(okuta): fix
- if not no_complex and not runtime.is_hip:
+ if not no_complex:
dtypes += _complex_dtypes
return dtypes
