From 0c62d3bf1c0f8e82f640aca410110af8946db0a2 Mon Sep 17 00:00:00 2001 From: Jason Tang Date: Tue, 24 Nov 2020 17:38:01 -0500 Subject: [PATCH] SWDEV-260632 - [PAL] Use new Target ID format Change-Id: Icd2d95b9c3f5adbd295fb2272bf453ccb9f09678 --- rocclr/device/pal/paldevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rocclr/device/pal/paldevice.cpp b/rocclr/device/pal/paldevice.cpp index 76b7ce7525..3479a83c30 100644 --- a/rocclr/device/pal/paldevice.cpp +++ b/rocclr/device/pal/paldevice.cpp @@ -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_);