mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Add engine type to commandList
Change-Id: I108fc027dd4698ebecb224c20b92f2b741698f3c
This commit is contained in:
committed by
sys_ocldev
parent
76a9ccc095
commit
877a781696
@@ -447,7 +447,7 @@ TEST_F(MetricQueryPoolTest, givenCorrectArgumentsWhenZetCommandListAppendMetricQ
|
||||
zet_device_handle_t metricDevice = device->toHandle();
|
||||
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
zet_command_list_handle_t commandListHandle = commandList->toHandle();
|
||||
|
||||
Mock<MetricGroup> metricGroup;
|
||||
@@ -600,7 +600,7 @@ TEST_F(MetricQueryPoolTest, givenIncorrectArgumentsWhenZetCommandListAppendMetri
|
||||
zet_device_handle_t metricDevice = device->toHandle();
|
||||
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
zet_command_list_handle_t commandListHandle = commandList->toHandle();
|
||||
|
||||
ze_event_pool_handle_t eventPoolHandle = {};
|
||||
@@ -711,7 +711,7 @@ TEST_F(MetricQueryPoolTest, givenCorrectArgumentsWhenZetCommandListAppendMetricQ
|
||||
zet_device_handle_t metricDevice = device->toHandle();
|
||||
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
zet_command_list_handle_t commandListHandle = commandList->toHandle();
|
||||
|
||||
ze_event_pool_handle_t eventPoolHandle = {};
|
||||
@@ -828,7 +828,7 @@ TEST_F(MetricQueryPoolTest, givenIncorrectArgumentsWhenZetMetricQueryGetDataIsCa
|
||||
zet_device_handle_t metricDevice = device->toHandle();
|
||||
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
zet_command_list_handle_t commandListHandle = commandList->toHandle();
|
||||
|
||||
ze_event_pool_handle_t eventPoolHandle = {};
|
||||
@@ -944,7 +944,7 @@ TEST_F(MetricQueryPoolTest, givenCorrectArgumentsWhenZetMetricQueryGetDataIsCall
|
||||
zet_device_handle_t metricDevice = device->toHandle();
|
||||
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
zet_command_list_handle_t commandListHandle = commandList->toHandle();
|
||||
|
||||
ze_event_pool_handle_t eventPoolHandle = {};
|
||||
@@ -1088,7 +1088,7 @@ TEST_F(MetricQueryPoolTest, givenCorrectArgumentsWhenZetMetricQueryGetDataIsCall
|
||||
zet_device_handle_t metricDevice = device->toHandle();
|
||||
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
zet_command_list_handle_t commandListHandle = commandList->toHandle();
|
||||
|
||||
ze_event_pool_handle_t eventPoolHandle = {};
|
||||
|
||||
@@ -275,7 +275,7 @@ TEST_F(MetricQueryPoolTest, givenCorrectArgumentsWhenZetCommandListAppendMetricQ
|
||||
zet_device_handle_t metricDevice = device->toHandle();
|
||||
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
zet_command_list_handle_t commandListHandle = commandList->toHandle();
|
||||
|
||||
ze_event_pool_handle_t eventPoolHandle = {};
|
||||
@@ -391,7 +391,7 @@ TEST_F(MetricQueryPoolTest, givenIncorrectArgumentsWhenZetMetricQueryGetDataIsCa
|
||||
zet_device_handle_t metricDevice = device->toHandle();
|
||||
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
zet_command_list_handle_t commandListHandle = commandList->toHandle();
|
||||
|
||||
ze_event_pool_handle_t eventPoolHandle = {};
|
||||
@@ -507,7 +507,7 @@ TEST_F(MetricQueryPoolTest, givenCorrectArgumentsWhenZetMetricQueryGetDataIsCall
|
||||
zet_device_handle_t metricDevice = device->toHandle();
|
||||
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
zet_command_list_handle_t commandListHandle = commandList->toHandle();
|
||||
|
||||
ze_event_pool_handle_t eventPoolHandle = {};
|
||||
@@ -674,7 +674,7 @@ TEST_F(MetricQueryPoolTest, givenExecutionQueryTypeWhenAppendMetricQueryBeginAnd
|
||||
poolDesc.type = ZET_METRIC_QUERY_POOL_TYPE_EXECUTION;
|
||||
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
zet_command_list_handle_t commandListHandle = commandList->toHandle();
|
||||
|
||||
TypedValue_1_0 value = {};
|
||||
@@ -736,7 +736,7 @@ TEST_F(MetricQueryPoolTest, givenExecutionQueryTypeAndCompletionEventWhenAppendM
|
||||
poolDesc.type = ZET_METRIC_QUERY_POOL_TYPE_EXECUTION;
|
||||
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
zet_command_list_handle_t commandListHandle = commandList->toHandle();
|
||||
|
||||
TypedValue_1_0 value = {};
|
||||
@@ -820,7 +820,7 @@ TEST_F(MetricQueryPoolTest, givenExecutionQueryTypeAndMetricsLibraryWillFailWhen
|
||||
poolDesc.type = ZET_METRIC_QUERY_POOL_TYPE_EXECUTION;
|
||||
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
zet_command_list_handle_t commandListHandle = commandList->toHandle();
|
||||
|
||||
TypedValue_1_0 value = {};
|
||||
|
||||
@@ -703,7 +703,7 @@ TEST_F(MetricStreamerTest, givenValidArgumentsWhenZetCommandListAppendMetricStre
|
||||
|
||||
// One api: command list handle.
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
|
||||
// One api: streamer handle.
|
||||
zet_metric_streamer_handle_t streamerHandle = {};
|
||||
@@ -852,7 +852,7 @@ TEST_F(MetricStreamerTest, givenMultipleMarkerInsertionsWhenZetCommandListAppend
|
||||
|
||||
// One api: command list handle.
|
||||
ze_result_t returnValue;
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, false, returnValue));
|
||||
std::unique_ptr<L0::CommandList> commandList(CommandList::create(productFamily, device, NEO::EngineGroupType::RenderCompute, returnValue));
|
||||
|
||||
// One api: streamer handle.
|
||||
zet_metric_streamer_handle_t streamerHandle = {};
|
||||
|
||||
Reference in New Issue
Block a user