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," \