Lines Matching refs:execution
281 Result setInOut(Execution* execution, uint32_t index, uint32_t opIndex, in setInOut() argument
292 return execution->setInputFromMemory(opIndex, memory->getMemory(), 0, size, t); in setInOut()
294 return execution->setOutputFromMemory(opIndex, memory->getMemory(), 0, size, t); in setInOut()
298 return execution->setInput(opIndex, buffer, size, t); in setInOut()
300 return execution->setOutput(opIndex, buffer, size, t); in setInOut()
373 Execution execution(&compilation); in TestOne() local
377 ASSERT_EQ(execution.enableInputAndOutputPadding(true), Result::NO_ERROR); in TestOne()
379 ASSERT_EQ(execution.enableInputAndOutputPadding(false), Result::NO_ERROR); in TestOne()
387 result = setInOut<T>(&execution, kIndex0_Execution, 0, {kValueA, valueB}, bufferOp0, in TestOne()
394 result = setInOut<T>(&execution, kIndex3_Execution, 1, {2}, nullptr, nullptr, in TestOne()
404 result = setInOut<T>(&execution, kIndex4_Execution, 0, {valueB, kValueA}, bufferOp4, in TestOne()
410 result = execution.compute(); in TestOne()
415 ASSERT_EQ(execution.getOutputOperandDimensions(0, &outputShape), result); in TestOne()