Skip to content

Commit 129249f

Browse files
refactor: correct typo
Related-To: NEO-14577 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
1 parent 00e2ff0 commit 129249f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

shared/source/command_stream/command_stream_receiver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ void CommandStreamReceiver::ensureHostFunctionWorkerStarted() {
731731
}
732732

733733
void CommandStreamReceiver::startHostFunctionWorker() {
734-
auto lock = obrainHostFunctionWorkerStartLock();
734+
auto lock = obtainHostFunctionWorkerStartLock();
735735
if (this->hostFunctionWorkerStarted.load(std::memory_order_relaxed)) {
736736
return;
737737
}
@@ -1011,7 +1011,7 @@ std::unique_lock<CommandStreamReceiver::MutexType> CommandStreamReceiver::obtain
10111011
return std::unique_lock<CommandStreamReceiver::MutexType>(this->hostPtrSurfaceCreationMutex);
10121012
}
10131013

1014-
std::unique_lock<CommandStreamReceiver::MutexType> CommandStreamReceiver::obrainHostFunctionWorkerStartLock() {
1014+
std::unique_lock<CommandStreamReceiver::MutexType> CommandStreamReceiver::obtainHostFunctionWorkerStartLock() {
10151015
return std::unique_lock<CommandStreamReceiver::MutexType>(this->hostFunctionWorkerStartMutex);
10161016
}
10171017

shared/source/command_stream/command_stream_receiver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ class CommandStreamReceiver : NEO::NonCopyableAndNonMovableClass {
575575
void ensureHostFunctionWorkerStarted();
576576
HostFunctionData &getHostFunctionData();
577577
GraphicsAllocation *getHostFunctionDataAllocation();
578-
[[nodiscard]] std::unique_lock<MutexType> obrainHostFunctionWorkerStartLock();
578+
[[nodiscard]] std::unique_lock<MutexType> obtainHostFunctionWorkerStartLock();
579579

580580
protected:
581581
void initializeHostFunctionData();

0 commit comments

Comments
 (0)