mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
[L0] Fix regression on fence host sync
Change-Id: I769212c4e7478959b0e9a126064eb0ab09a3f183 Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
#include "shared/source/memory_manager/memory_manager.h"
|
||||
#include "shared/source/utilities/cpuintrinsics.h"
|
||||
|
||||
#include "hw_helpers.h"
|
||||
|
||||
namespace L0 {
|
||||
|
||||
struct FenceImp : public Fence {
|
||||
@@ -89,6 +91,8 @@ ze_result_t FenceImp::hostSynchronize(uint32_t timeout) {
|
||||
return ZE_RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
waitForTaskCountWithKmdNotifyFallbackHelper(cmdQueue->getCsr(), cmdQueue->getTaskCount(), 0, false, false);
|
||||
|
||||
if (timeout == 0) {
|
||||
return queryStatus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user