Lines Matching refs:execution
272 Result setInOut(Execution* execution, uint32_t index, uint32_t opIndex, in setInOut() argument
283 return execution->setInputFromMemory(opIndex, memory->getMemory(), 0, size, t); in setInOut()
285 return execution->setOutputFromMemory(opIndex, memory->getMemory(), 0, size, t); in setInOut()
289 return execution->setInput(opIndex, buffer, size, t); in setInOut()
291 return execution->setOutput(opIndex, buffer, size, t); in setInOut()
364 Execution execution(&compilation); in TestOne() local
368 ASSERT_EQ(execution.enableInputAndOutputPadding(true), Result::NO_ERROR); in TestOne()
370 ASSERT_EQ(execution.enableInputAndOutputPadding(false), Result::NO_ERROR); in TestOne()
378 result = setInOut<T>(&execution, kIndex0_Execution, 0, {kValueA, valueB}, bufferOp0, in TestOne()
385 result = setInOut<T>(&execution, kIndex3_Execution, 1, {2}, nullptr, nullptr, in TestOne()
395 result = setInOut<T>(&execution, kIndex4_Execution, 0, {valueB, kValueA}, bufferOp4, in TestOne()
401 result = execution.compute(); in TestOne()
406 ASSERT_EQ(execution.getOutputOperandDimensions(0, &outputShape), result); in TestOne()