Skip to content

Commit 72bc1d4

Browse files
smaslov-intelveselypeta
authored andcommitted
[UR][L0] Do not rely on CTAD to avoid build warnings/failures (#11255)
Fixes post-commit build fails in https://github.com/intel/llvm/actions/runs/6256835642/job/16988269333 Signed-off-by: smaslov <sergey.v.maslov@intel.com>
1 parent d9f48c5 commit 72bc1d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/level_zero/queue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urQueueCreate(
290290
// for building to all the devices in the context.
291291
//
292292
{ // Lock context for thread-safe update
293-
std::scoped_lock Lock(Context->Mutex);
293+
std::scoped_lock<ur_shared_mutex> Lock(Context->Mutex);
294294
UR_ASSERT(Context->isValidDevice(Device), UR_RESULT_ERROR_INVALID_DEVICE);
295295

296296
auto MakeFirst = Context->Devices.begin();

0 commit comments

Comments
 (0)