Skip to content

Commit 809c0ff

Browse files
committed
move sync outside
1 parent afdc514 commit 809c0ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/transpose.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def info(s):
4040

4141
def sp_transpose(arr):
4242
brr = sharpy.permute_dims(arr, [1, 0])
43-
sharpy.sync()
4443
return brr
4544

4645

@@ -97,6 +96,7 @@ def run(row, col, backend, iterations, datatype):
9796
def eval():
9897
tic = time_mod.perf_counter()
9998
transpose(arr)
99+
sync()
100100
toc = time_mod.perf_counter()
101101
return toc - tic
102102

0 commit comments

Comments
 (0)