Add gfx1100 support
Signed-off-by: Graham Sider <Graham.Sider@amd.com> Change-Id: Ic5d5559e43df5c73409ba900a42c6901aabae661
Tento commit je obsažen v:
@@ -605,6 +605,9 @@ core::Blit* GpuAgent::CreateBlitSdma(bool use_xgmi) {
|
||||
case 10:
|
||||
sdma = new BlitSdmaV5();
|
||||
break;
|
||||
case 11:
|
||||
sdma = new BlitSdmaV5();
|
||||
break;
|
||||
default:
|
||||
assert(false && "Unexpected device major version.");
|
||||
return nullptr;
|
||||
@@ -1543,7 +1546,7 @@ void GpuAgent::InvalidateCodeCaches() {
|
||||
// Microcode is handling code cache invalidation.
|
||||
return;
|
||||
}
|
||||
} else if (isa_->GetMajorVersion() > 10) {
|
||||
} else if (isa_->GetMajorVersion() > 11) {
|
||||
assert(false && "Code cache invalidation not implemented for this agent");
|
||||
}
|
||||
|
||||
|
||||
@@ -315,6 +315,7 @@ constexpr size_t hsa_name_size = 63;
|
||||
ISAREG_ENTRY_GEN("gfx1034", 10, 3, 4, unsupported, unsupported)
|
||||
ISAREG_ENTRY_GEN("gfx1035", 10, 3, 5, unsupported, unsupported)
|
||||
ISAREG_ENTRY_GEN("gfx1036", 10, 3, 6, unsupported, unsupported)
|
||||
ISAREG_ENTRY_GEN("gfx1100", 11, 0, 0, unsupported, unsupported)
|
||||
#undef ISAREG_ENTRY_GEN
|
||||
return supported_isas;
|
||||
}
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele