SWDEV-260632 - [PAL] Use new Target ID format
Change-Id: Icd2d95b9c3f5adbd295fb2272bf453ccb9f09678
This commit is contained in:
@@ -515,10 +515,10 @@ void NullDevice::fillDeviceInfo(const Pal::DeviceProperties& palProp,
|
||||
if (settings().useLightning_) {
|
||||
::strcpy(info_.name_, hwInfo()->machineTargetLC_);
|
||||
if (hwInfo()->xnackEnabled_) {
|
||||
::strcat(info_.name_, "+xnack");
|
||||
::strcat(info_.name_, ":xnack+");
|
||||
}
|
||||
if (palProp.gfxipProperties.shaderCore.flags.eccProtectedGprs) {
|
||||
::strcat(info_.name_, "+sram-ecc");
|
||||
::strcat(info_.name_, ":sramecc+");
|
||||
}
|
||||
::strcpy(info_.targetId_, "amdgcn-amd-amdhsa--");
|
||||
::strcat(info_.targetId_, info_.name_);
|
||||
|
||||
Reference in New Issue
Block a user