SWDEV-240001 - OCLPerfCounters target ID changes

We don't care about target ID features in this test, so we can simply
strip them away to maintain compatability with the internal test table.

Change-Id: I44591a052c02f9e01876a8946f99cfedee371233
Tá an tiomantas seo le fáil i:
Vladislav Sytchenko tiomanta 2021-03-09 10:55:39 -05:00
1 tuismitheoir 4ea3e44ac8
tiomantas b620121390
1 comhad athraithe
+7
@@ -669,6 +669,13 @@ void OCLPerfCounters::run(void) {
deviceName, NULL);
CHECK_RESULT(err != CL_SUCCESS, "clGetDeviceInfo failed");
// Remove target ID features
char* targetIdColon = strchr(deviceName, ':');
if (targetIdColon != nullptr) {
size_t idx = targetIdColon - deviceName;
deviceName[idx] = '\0';
}
// Begin: to be removed when crash on Kabini is fixed
if (strcmp(deviceName, "Kalindi") == 0) {
char msg[256];