Skip to content

Commit 7fbc58b

Browse files
author
Hugh Delaney
committed
Remove lock
1 parent d76742e commit 7fbc58b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

source/adapters/level_zero/enqueue_native.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ ur_result_t ur_queue_handle_legacy_t_::enqueueNativeCommandExp(
2222
ur_event_handle_t *phEvent) {
2323
auto Queue = this;
2424

25-
// Lock automatically releases when this goes out of scope.
26-
std::scoped_lock<ur_shared_mutex> lock(Queue->Mutex);
27-
2825
bool UseCopyEngine = false;
2926

3027
// Please note that the following code should be run before the

0 commit comments

Comments
 (0)