From a0644ef573c0ebbae3c874e71dcb007daf09a2a2 Mon Sep 17 00:00:00 2001 From: Michel Schanen Date: Mon, 29 Sep 2025 14:35:16 -0500 Subject: [PATCH 1/2] In order global queue --- src/context.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context.jl b/src/context.jl index c95a0f8f..6d486ff1 100644 --- a/src/context.jl +++ b/src/context.jl @@ -51,7 +51,7 @@ function global_queue(ctx::ZeContext, dev::ZeDevice) # NOTE: dev purposefully does not default to context() or device() to stress that # objects should track ownership, and not rely on implicit global state. get!(task_local_storage(), (:ZeCommandQueue, ctx, dev)) do - ZeCommandQueue(ctx, dev) + ZeCommandQueue(ctx, dev; flags=oneL0.ZE_COMMAND_QUEUE_FLAG_IN_ORDER) end end From 92e14af29595e51c20b7009ed362f3fd2060c79a Mon Sep 17 00:00:00 2001 From: Michel Schanen Date: Wed, 1 Oct 2025 08:49:16 -0500 Subject: [PATCH 2/2] Format --- src/context.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context.jl b/src/context.jl index 6d486ff1..3a36ea35 100644 --- a/src/context.jl +++ b/src/context.jl @@ -51,7 +51,7 @@ function global_queue(ctx::ZeContext, dev::ZeDevice) # NOTE: dev purposefully does not default to context() or device() to stress that # objects should track ownership, and not rely on implicit global state. get!(task_local_storage(), (:ZeCommandQueue, ctx, dev)) do - ZeCommandQueue(ctx, dev; flags=oneL0.ZE_COMMAND_QUEUE_FLAG_IN_ORDER) + ZeCommandQueue(ctx, dev; flags = oneL0.ZE_COMMAND_QUEUE_FLAG_IN_ORDER) end end