performance: Use vector for private allocs to reuse

Related-To: HSD-18033105655, HSD-18033153203

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2023-09-04 09:42:02 +00:00
committed by Compute-Runtime-Automation
parent 91b26277a4
commit 3b3e17e738
9 changed files with 30 additions and 19 deletions

View File

@@ -13,11 +13,13 @@
#include <vector>
namespace NEO {
class GraphicsAllocation;
struct EngineControl;
using EngineControlContainer = std::vector<EngineControl>;
using MultiDeviceEngineControlContainer = StackVec<EngineControlContainer, 6u>;
class Device;
using DeviceVector = std::vector<std::unique_ptr<Device>>;
using PrivateAllocsToReuseContainer = StackVec<std::pair<uint32_t, GraphicsAllocation *>, 8>;
enum class DebugPauseState : uint32_t {
disabled,