Skip to content

Commit e92c3b8

Browse files
committed
Add synchronize in aug_fwd
1 parent 24beeac commit e92c3b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: ext/EnzymeExt.jl

+1-2
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,8 @@ module EnzymeExt
236236
TapeType, subtape, aug_kernel = _create_tape_kernel(
237237
kernel, ModifiedBetween, FT, ctxTy, ndrange, iterspace, args2...
238238
)
239-
@show TapeType
240239
aug_kernel(f, ModifiedBetween, subtape, Val(TapeType), args2...; ndrange, workgroupsize)
241-
# KernelAbstractions.synchronize(backend(kernel))
240+
KernelAbstractions.synchronize(backend(kernel))
242241

243242
# TODO the fact that ctxTy is type unstable means this is all type unstable.
244243
# Since custom rules require a fixed return type, explicitly cast to Any, rather

0 commit comments

Comments
 (0)