Skip to content

Commit b5f6994

Browse files
committed
In order global queue
1 parent f6774a4 commit b5f6994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/context.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function global_queue(ctx::ZeContext, dev::ZeDevice)
5151
# NOTE: dev purposefully does not default to context() or device() to stress that
5252
# objects should track ownership, and not rely on implicit global state.
5353
get!(task_local_storage(), (:ZeCommandQueue, ctx, dev)) do
54-
ZeCommandQueue(ctx, dev)
54+
ZeCommandQueue(ctx, dev; flags=oneL0.ZE_COMMAND_QUEUE_FLAG_IN_ORDER)
5555
end
5656
end
5757

0 commit comments

Comments
 (0)