mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
Use l0 power saving setting to also adjust ulls timeout. Related-To: NEO-10800 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
18 lines
356 B
C++
18 lines
356 B
C++
/*
|
|
* Copyright (C) 2024 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/command_stream/queue_throttle.h"
|
|
|
|
namespace NEO {
|
|
QueueThrottle getThrottleFromPowerSavingUint(uint8_t value) {
|
|
if (value == 0) {
|
|
return QueueThrottle::MEDIUM;
|
|
} else {
|
|
return QueueThrottle::LOW;
|
|
}
|
|
}
|
|
} // namespace NEO
|