From d3e7a122f5f5fd5b80539fefc940b0b5b2c882b4 Mon Sep 17 00:00:00 2001 From: Ross Brunton Date: Fri, 26 Sep 2025 12:58:12 +0100 Subject: [PATCH] [UR][Offload] Don't default to out of order queues Whoops! Looks like we were checking the flags wrong --- unified-runtime/source/adapters/offload/queue.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unified-runtime/source/adapters/offload/queue.hpp b/unified-runtime/source/adapters/offload/queue.hpp index 8561812187e8f..cd7a0db1fee95 100644 --- a/unified-runtime/source/adapters/offload/queue.hpp +++ b/unified-runtime/source/adapters/offload/queue.hpp @@ -22,8 +22,8 @@ struct ur_queue_handle_t_ : RefCounted { ur_queue_handle_t_(ol_device_handle_t Device, ur_context_handle_t UrContext, ur_queue_flags_t Flags) : OffloadQueues((Flags & UR_QUEUE_FLAG_OUT_OF_ORDER_EXEC_MODE_ENABLE) - ? 1 - : OOO_QUEUE_POOL_SIZE), + ? OOO_QUEUE_POOL_SIZE + : 1), QueueOffset(0), Barrier(nullptr), OffloadDevice(Device), UrContext(UrContext), Flags(Flags) {}