Skip to content

Commit 1fae7a5

Browse files
committed
remove legacy_type_system usage
1 parent 8cd2a4c commit 1fae7a5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

numba_cuda/numba/cuda/misc/quicksort.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import numpy as np
77

8-
from numba.cuda import types, config
8+
from numba.cuda import types
99

1010

1111
QuicksortImplementation = collections.namedtuple(
@@ -33,10 +33,7 @@
3333
def make_quicksort_impl(
3434
wrap, lt=None, is_argsort=False, is_list=False, is_np_array=False
3535
):
36-
if config.USE_LEGACY_TYPE_SYSTEM:
37-
intp = types.intp
38-
else:
39-
intp = types.py_int
36+
intp = types.intp
4037
zero = intp(0)
4138

4239
# Two subroutines to make the core algorithm generic wrt. argsort

0 commit comments

Comments
 (0)