Remove legacy microcode version check in GpuAgent::InvalidateCodeCaches
Fixes instruction cache invalidation when using microcode branches. Change-Id: I932676e683983145f5c807204e592fb5e530c8af
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
مرجع در شماره جدید
Block a user