Skip to content

Commit ae27f97

Browse files
committed
Update CAL names for Bristol Ridge. The OpenCL driver changed to use Bristol Ridge instead of Carrizo
Change-Id: Iff266ef7390c833d1881cbd52c3b990802287bb7
1 parent 144b3a3 commit ae27f97

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Src/GPUPerfAPICL/GPUPerfAPICL.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ GPA_Status GPA_IMP_GetHWInfo(void* pContext, GPA_HWInfo* pHwInfo)
156156
{
157157
pHwInfo->SetDeviceID(0x9870);
158158
}
159+
else if (realDeviceName.compare("Bristol Ridge") == 0)
160+
{
161+
pHwInfo->SetDeviceID(0x9874);
162+
}
159163
else if (realDeviceName.compare("Fiji") == 0)
160164
{
161165
pHwInfo->SetDeviceID(0x7300);
@@ -285,6 +289,7 @@ GPA_Status GPA_IMP_CompareHWInfo(void* pContext, GPA_HWInfo* pHwInfo)
285289
(strTranslatedDeviceName.compare("Iceland") == 0 && asic == GDT_ICELAND) ||
286290
(strTranslatedDeviceName.compare("Tonga") == 0 && asic == GDT_TONGA) ||
287291
(strTranslatedDeviceName.compare("Carrizo") == 0 && asic == GDT_CARRIZO) ||
292+
(strTranslatedDeviceName.compare("Bristol Ridge") == 0 && asic == GDT_CARRIZO) ||
288293
(strTranslatedDeviceName.compare("Fiji") == 0 && asic == GDT_FIJI) ||
289294
(strTranslatedDeviceName.compare("Stoney") == 0 && asic == GDT_STONEY) ||
290295
(strTranslatedDeviceName.compare("Ellesmere") == 0 && asic == GDT_ELLESMERE) ||

0 commit comments

Comments
 (0)