Skip to content

Commit 1562421

Browse files
authored
Merge pull request #329 from IntelPython/fix/update_to_latest_kernel_launch_syntax
Update dpex kernel implementations to latest kernel launch syntax
2 parents 3dd2266 + 0dcad03 commit 1562421

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dpbench/benchmarks/kmeans/kmeans_numba_dpex_p.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def kmeans_numba(arrayP, arrayPcluster, arrayC, arrayCnumpoint, niters):
8686
num_centroids,
8787
)
8888

89-
calCentroidsSum2[num_points,](
89+
calCentroidsSum2[dpex.Range(num_points)](
9090
arrayP, arrayPcluster, arrayCsum, arrayCnumpoint
9191
)
9292

dpbench/benchmarks/rambo/rambo_numba_dpex_k.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def _rambo(C1, F1, Q1, nout, output):
2424

2525

2626
def rambo(nevts, nout, C1, F1, Q1, output):
27-
_rambo[nevts,](
27+
_rambo[dpex.Range(nevts)](
2828
C1,
2929
F1,
3030
Q1,

0 commit comments

Comments
 (0)