You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[UR][L0v2] Parameterize urL0EnqueueAllocMultiQueueSameDeviceTest over all queue types
Enable the urL0EnqueueAllocMultiQueueSameDeviceTest and parameterize it
over all queue submission modes (UR_QUEUE_FLAG_SUBMISSION_BATCHED and
UR_QUEUE_FLAG_SUBMISSION_IMMEDIATE) by:
- Removing SKIP_IF_BATCHED_QUEUE to enable the test for batched queues.
- Changing the base class template parameter from
EnqueueAllocMultiQueueTestParam to
uur::MultiQueueParam<EnqueueAllocMultiQueueTestParam> so that the
queue mode becomes part of the test parameter.
- Adding getTestParam() and getQueueFlag() helpers to the fixture for
clean access to the two parts of the parameter tuple.
- Creating queues with the parameterized flag via ur_queue_properties_t
instead of a hardcoded UR_QUEUE_FLAG_SUBMISSION_BATCHED.
- Switching the test suite macro from UUR_DEVICE_TEST_SUITE_WITH_PARAM
to UUR_MULTI_QUEUE_TYPE_TEST_SUITE_WITH_PARAM and the printer to
deviceTestWithParamPrinterMulti, which expands the suite to cover
both queue modes automatically.
- Updating all three test bodies (SuccessMt, SuccessReuse,
SuccessDependantMt) to use getTestParam() instead of
std::get<1>(this->GetParam()), and restoring the numQueues parameter
in SuccessMt to getTestParam().numQueues.
This ensures both batched and immediate queues are covered by default
test runs without requiring UR_L0_V2_FORCE_BATCHED=1.
Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
0 commit comments