Loader support for SRAM ECC.
Change-Id: I0c6791c356d9186cc8dabae9fd698b1d4de19b09
[ROCm/ROCR-Runtime commit: 3c3db0243e]
Šī revīzija ir iekļauta:
1 vecāks
f7dbaf103b
revīzija
8b90c223ac
8 files changed
+62
-35
No files matched your search
@@ -583,7 +583,7 @@ namespace code {
|
||||
if (IsFinalizer && (EFlags & EF_AMDGPU_XNACK)) {
|
||||
NewName = NewName + "+xnack";
|
||||
} else {
|
||||
if (EFlags != 0 && (EFlags & EF_AMDGPU_XNACK_LC)) {
|
||||
if (EFlags & EF_AMDGPU_XNACK_LC) {
|
||||
NewName = NewName + "+xnack";
|
||||
} else {
|
||||
if (OldName == "AMD:AMDGPU:8:0:1")
|
||||
@@ -599,6 +599,9 @@ namespace code {
|
||||
}
|
||||
}
|
||||
|
||||
if (EFlags & EF_AMDGPU_SRAM_ECC_LC)
|
||||
NewName += "+sram-ecc";
|
||||
|
||||
return NewName;
|
||||
}
|
||||
|
||||
@@ -631,6 +634,9 @@ namespace code {
|
||||
if (img->EFlags() & EF_AMDGPU_XNACK_LC)
|
||||
isaName += "+xnack";
|
||||
|
||||
if (img->EFlags() & EF_AMDGPU_SRAM_ECC_LC)
|
||||
isaName += "+sram-ecc";
|
||||
|
||||
return true;
|
||||
} else {
|
||||
std::string vendor_name, architecture_name;
|
||||
|
||||
Reference in new issue
Block a user