mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
fix: add mechanism to detect gpu timestamp overflows
unify naming CpuGpu to GpuCpu Related-To: NEO-8394 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
26666d8c6f
commit
4dfa12c8eb
@@ -78,7 +78,7 @@ class DrmMockTime : public DrmMockSuccess {
|
||||
using DrmMockSuccess::DrmMockSuccess;
|
||||
int ioctl(DrmIoctl request, void *arg) override {
|
||||
auto *reg = reinterpret_cast<NEO::RegisterRead *>(arg);
|
||||
reg->value = getVal() << 32;
|
||||
reg->value = getVal() << 32 | 0x1;
|
||||
return 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user