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

Dynamic queue management will be disabled by default and
the original sort logic is restored
Αυτή η υποβολή περιλαμβάνεται σε:
Andryeyev, German
2025-05-05 10:56:35 -04:00
υποβλήθηκε από GitHub
γονέας cd9bc61559
υποβολή 9b018165ce
2 αρχεία άλλαξαν με 5 προσθήκες και 1 διαγραφές
@@ -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," \