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
Αυτή η υποβολή περιλαμβάνεται σε:
Vladislav Sytchenko
2021-03-08 18:07:09 -05:00
γονέας 4ea3e44ac8
υποβολή b620121390
@@ -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];