Revert "refactor: reduce CommandList class size by changing vector types"

This reverts commit dcf74e8d29.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2023-12-08 03:53:36 +01:00
committed by Compute-Runtime-Automation
parent b5ac2cb6b4
commit f395bdbdab

View File

@@ -81,8 +81,8 @@ struct CommandList : _ze_command_list_handle_t {
void *pCommand = nullptr;
CommandType type = Invalid;
};
using CommandsToPatch = std::vector<CommandToPatch>;
using CmdListReturnPoints = std::vector<CmdListReturnPoint>;
using CommandsToPatch = StackVec<CommandToPatch, 16>;
using CmdListReturnPoints = StackVec<CmdListReturnPoint, 32>;
virtual ze_result_t close() = 0;
virtual ze_result_t destroy() = 0;