refactor: correct typo

Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2025-11-06 13:07:46 +00:00
committed by Compute-Runtime-Automation
parent 00e2ff01a1
commit 129249f022
2 changed files with 3 additions and 3 deletions

View File

@@ -731,7 +731,7 @@ void CommandStreamReceiver::ensureHostFunctionWorkerStarted() {
}
void CommandStreamReceiver::startHostFunctionWorker() {
auto lock = obrainHostFunctionWorkerStartLock();
auto lock = obtainHostFunctionWorkerStartLock();
if (this->hostFunctionWorkerStarted.load(std::memory_order_relaxed)) {
return;
}
@@ -1011,7 +1011,7 @@ std::unique_lock<CommandStreamReceiver::MutexType> CommandStreamReceiver::obtain
return std::unique_lock<CommandStreamReceiver::MutexType>(this->hostPtrSurfaceCreationMutex);
}
std::unique_lock<CommandStreamReceiver::MutexType> CommandStreamReceiver::obrainHostFunctionWorkerStartLock() {
std::unique_lock<CommandStreamReceiver::MutexType> CommandStreamReceiver::obtainHostFunctionWorkerStartLock() {
return std::unique_lock<CommandStreamReceiver::MutexType>(this->hostFunctionWorkerStartMutex);
}

View File

@@ -575,7 +575,7 @@ class CommandStreamReceiver : NEO::NonCopyableAndNonMovableClass {
void ensureHostFunctionWorkerStarted();
HostFunctionData &getHostFunctionData();
GraphicsAllocation *getHostFunctionDataAllocation();
[[nodiscard]] std::unique_lock<MutexType> obrainHostFunctionWorkerStartLock();
[[nodiscard]] std::unique_lock<MutexType> obtainHostFunctionWorkerStartLock();
protected:
void initializeHostFunctionData();