Remove incorrect code.
- we always need to flush the cache. Signed-off-by: Michal Mrozek <michal.mrozek@intel.com> Change-Id: I348d04649b8c01a6fb9ec29a15fd0a77f0b2aec2
This commit is contained in:
parent
abacd69def
commit
b9b01c09bc
|
@ -167,9 +167,7 @@ ze_result_t EventImp::hostEventSetValue(uint32_t eventVal) {
|
|||
UNRECOVERABLE_IF(hostAddr == nullptr);
|
||||
memcpy_s(static_cast<void *>(hostAddr), sizeof(uint32_t), static_cast<void *>(&eventVal), sizeof(uint32_t));
|
||||
|
||||
if (!this->signalScope) {
|
||||
NEO::CpuIntrinsics::clFlush(hostAddr);
|
||||
}
|
||||
NEO::CpuIntrinsics::clFlush(hostAddr);
|
||||
|
||||
return ZE_RESULT_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue