mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 03:01:20 +08:00
Revert "fix: use condition variables instead of busy waits in worker threads"
This reverts commit 4406889b39.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
24055f553d
commit
ff27bb12d1
@@ -673,6 +673,13 @@ void CommandStreamReceiver::downloadAllocation(GraphicsAllocation &gfxAllocation
|
||||
}
|
||||
}
|
||||
|
||||
void CommandStreamReceiver::startControllingDirectSubmissions() {
|
||||
auto controller = this->executionEnvironment.directSubmissionController.get();
|
||||
if (controller) {
|
||||
controller->startControlling();
|
||||
}
|
||||
}
|
||||
|
||||
bool CommandStreamReceiver::enqueueWaitForPagingFence(uint64_t pagingFenceValue) {
|
||||
auto controller = this->executionEnvironment.directSubmissionController.get();
|
||||
if (this->isAnyDirectSubmissionEnabled() && controller) {
|
||||
|
||||
Reference in New Issue
Block a user