Skip to content

Commit ea88e96

Browse files
committed
Remove DEFAULT_LOCAL_SIZE in code
1 parent 6ec9c63 commit ea88e96

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

numba_dpex/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ def parse_sem_version(version_string: str) -> Tuple[int, int, int]:
131131
sub_group_barrier,
132132
)
133133

134-
DEFAULT_LOCAL_SIZE = []
135134
load_dpctl_sycl_interface()
136135
del load_dpctl_sycl_interface
137136

numba_dpex/vectorizers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def to_host(self, devary, queue):
194194
copy_to_numpy_from_usm_obj(devary_memview, hostary)
195195

196196
def launch(self, func, count, queue, args):
197-
func[count, dpex.DEFAULT_LOCAL_SIZE](*args)
197+
func[dpex.Range(count)](*args)
198198

199199
def device_array(self, shape, dtype, queue):
200200
size = np.prod(shape)

0 commit comments

Comments
 (0)