Initial GFX12 changes.
Add target gfx1200 to several files. Add cases for GFX12 in a few switch statements. Signed-off-by: David Belanger <david.belanger@amd.com> Change-Id: Ib90032f5b9d5a3306060f13a43d970108a1399df Signed-off-by: Chris Freehill <cfreehil@amd.com>
Цей коміт міститься в:
зафіксовано
Chris Freehill
джерело
696d8fae9e
коміт
2f14acd9c1
@@ -1773,6 +1773,7 @@ void AqlQueue::FillComputeTmpRingSize_Gfx11() {
|
||||
// that enable kernel access scratch memory
|
||||
void AqlQueue::InitScratchSRD() {
|
||||
switch (agent_->isa()->GetMajorVersion()) {
|
||||
case 12:
|
||||
case 11:
|
||||
FillBufRsrcWord0();
|
||||
FillBufRsrcWord1_Gfx11();
|
||||
|
||||
@@ -709,6 +709,7 @@ core::Blit* GpuAgent::CreateBlitSdma(bool use_xgmi) {
|
||||
copy_size_overrides[1];
|
||||
break;
|
||||
case 11:
|
||||
case 12:
|
||||
sdma = new BlitSdmaV5();
|
||||
copy_size_override = copy_size_overrides[1];
|
||||
break;
|
||||
@@ -2165,7 +2166,7 @@ void GpuAgent::InvalidateCodeCaches() {
|
||||
// Microcode is handling code cache invalidation.
|
||||
return;
|
||||
}
|
||||
} else if (isa_->GetMajorVersion() > 11) {
|
||||
} else if (isa_->GetMajorVersion() > 12) {
|
||||
assert(false && "Code cache invalidation not implemented for this agent");
|
||||
}
|
||||
|
||||
|
||||
@@ -349,6 +349,7 @@ constexpr size_t hsa_name_size = 63;
|
||||
ISAREG_ENTRY_GEN("gfx1103", 11, 0, 3, unsupported, unsupported, 32)
|
||||
ISAREG_ENTRY_GEN("gfx1150", 11, 5, 0, unsupported, unsupported, 32)
|
||||
ISAREG_ENTRY_GEN("gfx1151", 11, 5, 1, unsupported, unsupported, 32)
|
||||
ISAREG_ENTRY_GEN("gfx1200", 12, 0, 0, unsupported, unsupported, 32)
|
||||
#undef ISAREG_ENTRY_GEN
|
||||
return supported_isas;
|
||||
}
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача