Lines Matching refs:testConfig
572 const TestModel& testModel, const TestConfig& testConfig, in EvaluatePreparedModel() argument
578 if (testConfig.outputType == OutputType::INSUFFICIENT && in EvaluatePreparedModel()
584 auto maybeRequest = context.createRequest(testModel, testConfig.memoryType); in EvaluatePreparedModel()
593 if (testConfig.outputType == OutputType::INSUFFICIENT) { in EvaluatePreparedModel()
601 if (testConfig.outputType == OutputType::MISSED_DEADLINE) { in EvaluatePreparedModel()
609 if (testConfig.reusable) { in EvaluatePreparedModel()
611 request, {testConfig.measureTiming, loopTimeoutDurationNs, {}, {}}, &execution); in EvaluatePreparedModel()
616 const auto executeAndCheckResults = [&preparedModel, &execution, &testConfig, &testModel, in EvaluatePreparedModel()
621 switch (testConfig.executor) { in EvaluatePreparedModel()
628 if (testConfig.reusable) { in EvaluatePreparedModel()
630 } else if (testConfig.useConfig) { in EvaluatePreparedModel()
632 request, {testConfig.measureTiming, loopTimeoutDurationNs, {}, {}}, in EvaluatePreparedModel()
635 ret = preparedModel->executeSynchronously(request, testConfig.measureTiming, in EvaluatePreparedModel()
677 if (testConfig.useConfig) { in EvaluatePreparedModel()
680 {testConfig.measureTiming, loopTimeoutDurationNs, {}, {}}, kNoDeadline, in EvaluatePreparedModel()
683 ret = burst->executeSynchronously(request, slots, testConfig.measureTiming, in EvaluatePreparedModel()
715 if (testConfig.reusable) { in EvaluatePreparedModel()
717 } else if (testConfig.useConfig) { in EvaluatePreparedModel()
719 request, {}, {testConfig.measureTiming, loopTimeoutDurationNs, {}, {}}, in EvaluatePreparedModel()
722 ret = preparedModel->executeFenced(request, {}, testConfig.measureTiming, in EvaluatePreparedModel()
738 if (testConfig.reusable) { in EvaluatePreparedModel()
741 } else if (testConfig.useConfig) { in EvaluatePreparedModel()
744 {testConfig.measureTiming, loopTimeoutDurationNs, {}, {}}, in EvaluatePreparedModel()
748 request, waitFor, testConfig.measureTiming, kNoDeadline, in EvaluatePreparedModel()
768 if (testConfig.outputType != OutputType::FULLY_SPECIFIED && in EvaluatePreparedModel()
773 if (!testConfig.reportSkipping) { in EvaluatePreparedModel()
783 if (!testConfig.measureTiming) { in EvaluatePreparedModel()
791 switch (testConfig.outputType) { in EvaluatePreparedModel()
793 if (testConfig.executor == Executor::FENCED && hasZeroSizedOutput(testModel)) { in EvaluatePreparedModel()
805 if (testConfig.executor == Executor::FENCED) { in EvaluatePreparedModel()
816 if (testConfig.executor == Executor::FENCED) { in EvaluatePreparedModel()
867 if (testConfig.reusable) { in EvaluatePreparedModel()
938 const TestConfig testConfig(executor, measureTiming, outputType, in EvaluatePreparedModel() local
941 SCOPED_TRACE(toString(testConfig)); in EvaluatePreparedModel()
942 EvaluatePreparedModel(device, preparedModel, testModel, testConfig); in EvaluatePreparedModel()
963 const TestConfig testConfig(executor, measureTiming, outputType, MemoryType::ASHMEM, in EvaluatePreparedCoupledModels() local
966 EvaluatePreparedModel(device, preparedModel, testModel, testConfig, &baseSkipped); in EvaluatePreparedCoupledModels()
968 EvaluatePreparedModel(device, preparedCoupledModel, coupledModel, testConfig, in EvaluatePreparedCoupledModels()