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

Change-Id: Ifec6e0995e324887f8df02f27cb61e2a035e6a82
Этот коммит содержится в:
Todd tiantuo Li committed 2023-04-25 04:29:20 -04:00
1 родитель 3dfe48b582
Коммит 42e7cb77d9
1 file changed
+11 -1
+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;