Lines Matching refs:execution
71 Execution* execution, Execution::ComputeMode computeMode,
244 void computeWithPtrs(const TestModel& testModel, Execution* execution, in computeWithPtrs() argument
249 createRequest(testModel, execution, outputs); in computeWithPtrs()
251 *result = execution->compute(computeMode); in computeWithPtrs()
284 const TestModel& testModel, Execution* execution, in computeWithDeviceMemories() argument
287 ASSERT_NE(execution, nullptr); in computeWithDeviceMemories()
301 ASSERT_EQ(Result::NO_ERROR, execution->setInput(i, nullptr, 0)); in computeWithDeviceMemories()
315 ASSERT_EQ(Result::NO_ERROR, execution->setInputFromMemory(i, &wrapperMemory, 0, 0)); in computeWithDeviceMemories()
324 ASSERT_EQ(Result::NO_ERROR, execution->setOutputFromMemory(i, &wrapperMemory, 0, 0)); in computeWithDeviceMemories()
328 *result = execution->compute(computeMode); in computeWithDeviceMemories()
350 Execution execution(mNnApi.get(), &compilation); in executeWithCompilation() local
355 computeWithDeviceMemories(compilation, testModel, &execution, mComputeMode, &result, in executeWithCompilation()
358 computeWithPtrs(testModel, &execution, mComputeMode, &result, &outputs); in executeWithCompilation()
380 ASSERT_EQ(Result::NO_ERROR, execution.getOutputOperandDimensions(i, &actualDimensions)); in executeWithCompilation()