SWDEV-391224 - cltrace support for MEDIUM_PRIORITY queue and RT queue with their number of dedicated CUs

Change-Id: Ifec6e0995e324887f8df02f27cb61e2a035e6a82
Этот коммит содержится в:
Todd tiantuo Li
2023-04-13 04:05:26 -07:00
родитель 3dfe48b582
Коммит 42e7cb77d9
+11 -1
Просмотреть файл
@@ -533,7 +533,17 @@ getQueuePropertyString(const cl_queue_properties* qprops)
break;
case CL_QUEUE_SIZE: // Unimplemented
queueSize = p->value.size;
ss << "QUEUE_SIZE "<<queueSize;;
ss << "QUEUE_SIZE " << queueSize;
break;
#define CL_QUEUE_REAL_TIME_COMPUTE_UNITS_AMD 0x404f
case CL_QUEUE_REAL_TIME_COMPUTE_UNITS_AMD:
queueSize = p->value.size;
ss << " RT_QUEUE " << queueSize;
break;
#define CL_QUEUE_MEDIUM_PRIORITY_AMD 0x4050
case CL_QUEUE_MEDIUM_PRIORITY_AMD:
queueSize = p->value.size;
ss << " MEDIUM_PRIORITY " << queueSize;
break;
default:
break;