Remove legacy microcode version check in GpuAgent::InvalidateCodeCaches
Fixes instruction cache invalidation when using microcode branches. Change-Id: I932676e683983145f5c807204e592fb5e530c8af
Ta zmiana jest zawarta w:
%! (template.HTML=
Jay Cornwall)złożyło 2019-01-22 16:39:52 -06:00
1 rodzic
8bee6e4976
złożenie
079eadd71b
Plik 1 zmieniony
+1
-8
@@ -1239,14 +1239,7 @@ void GpuAgent::InvalidateCodeCaches() {
|
||||
// Microcode is handling code cache invalidation.
|
||||
return;
|
||||
}
|
||||
} else if (isa_->GetMajorVersion() == 9) {
|
||||
if (properties_.EngineId.ui32.uCode < 334) {
|
||||
static std::once_flag once;
|
||||
std::call_once(
|
||||
once, []() { fprintf(stderr, "warning: code cache invalidation not implemented\n"); });
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
} else if (isa_->GetMajorVersion() > 9) {
|
||||
assert(false && "Code cache invalidation not implemented for this agent");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika