SWDEV-528808 - Disable dynamic queue by default (#256)

Dynamic queue management will be disabled by default and
the original sort logic is restored

[ROCm/clr commit: 9b018165ce]
Этот коммит содержится в:
Andryeyev, German
2025-05-05 10:56:35 -04:00
коммит произвёл GitHub
родитель e480220c6a
Коммит c512258e45
2 изменённых файлов: 5 добавлений и 1 удалений
+4
Просмотреть файл
@@ -623,7 +623,11 @@ class Device : public NullDevice {
struct QueueCompare {
// Customized queue compare operator to make sure the queues are sorted in the creation order
bool operator()(hsa_queue_t* lhs, hsa_queue_t* rhs) const {
if (DEBUG_HIP_DYNAMIC_QUEUES) {
return (lhs->id < rhs->id) ? true : false;
} else {
return (lhs < rhs) ? true : false;
}
}
};
//! a vector for keeping Pool of HSA queues with low, normal and high priorities for recycling
+1 -1
Просмотреть файл
@@ -271,7 +271,7 @@ release(bool, DEBUG_CLR_KERNARG_HDP_FLUSH_WA, false, \
"Toggle kernel arg copy workaround") \
release(bool, DEBUG_CLR_SKIP_RELEASE_SCOPE, false, \
"Forces release scope to SCOPE_NONE for aql packets") \
release(bool, DEBUG_HIP_DYNAMIC_QUEUES, true, \
release(bool, DEBUG_HIP_DYNAMIC_QUEUES, false, \
"Forces dynamic queue management") \
release(uint, DEBUG_HIP_7_PREVIEW, 0, \
"Enables specific backward incompatible changes support before 7.0," \