mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-13 01:42:56 +08:00
refactor: correct typo
Related-To: NEO-14577 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
00e2ff01a1
commit
129249f022
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user