Searched refs:ComputeMode (Results 1 – 12 of 12) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestMain.cpp | 54 static int test(bool useCpuOnly, Execution::ComputeMode computeMode) { in test() 74 case Execution::ComputeMode::SYNC: in test() 76 case Execution::ComputeMode::ASYNC: in test() 78 case Execution::ComputeMode::BURST: in test() 80 case Execution::ComputeMode::FENCED: in test() 127 int n = test(/*useCpuOnly=*/false, Execution::ComputeMode::ASYNC) | in main() 128 test(/*useCpuOnly=*/false, Execution::ComputeMode::SYNC) | in main() 129 test(/*useCpuOnly=*/true, Execution::ComputeMode::ASYNC) | in main() 130 test(/*useCpuOnly=*/true, Execution::ComputeMode::SYNC); in main() 137 n |= test(/*useCpuOnly=*/false, Execution::ComputeMode::BURST); in main()
|
D | TestNeuralNetworksWrapper.h | 483 enum class ComputeMode { SYNC, ASYNC, BURST, FENCED }; enum 484 static ComputeMode setComputeMode(ComputeMode mode) { in setComputeMode() 485 ComputeMode oldComputeMode = mComputeMode; in setComputeMode() 489 static ComputeMode getComputeMode() { return mComputeMode; } in getComputeMode() 491 Result compute(ComputeMode computeMode = mComputeMode) { 493 case ComputeMode::SYNC: { 496 case ComputeMode::ASYNC: { 509 case ComputeMode::BURST: { 521 case ComputeMode::FENCED: { 558 static ComputeMode mComputeMode;
|
D | TestNeuralNetworksWrapper.cpp | 23 Execution::ComputeMode Execution::mComputeMode = Execution::ComputeMode::SYNC;
|
D | TestUnknownDimensions.cpp | 81 std::vector<Execution::ComputeMode> computeModes = { 82 Execution::ComputeMode::SYNC, 83 Execution::ComputeMode::FENCED}; 90 Execution::ComputeMode computeMode); 171 Execution::ComputeMode computeMode) { in TestOne()
|
D | SupportLibraryTestGenerated.cpp | 82 Execution::ComputeMode computeMode, Result* result, std::vector<TestBuffer>* outputs); 102 Execution::ComputeMode mComputeMode = Execution::getComputeMode(); 254 Execution::ComputeMode computeMode, Result* result, in computeWithPtrs() 294 Execution::ComputeMode computeMode, Result* result, std::vector<TestBuffer>* outputs) { in computeWithDeviceMemories() 576 mComputeMode = Execution::ComputeMode::SYNC; in TEST_P() 582 mComputeMode = Execution::ComputeMode::BURST; in TEST_P() 608 mComputeMode = Execution::ComputeMode::FENCED; in TEST_P()
|
D | TestGenerated.cpp | 92 Execution::ComputeMode mComputeMode = Execution::getComputeMode(); 498 mComputeMode = Execution::ComputeMode::SYNC; in TEST_P() 503 mComputeMode = Execution::ComputeMode::ASYNC; in TEST_P() 508 mComputeMode = Execution::ComputeMode::BURST; in TEST_P() 534 mComputeMode = Execution::ComputeMode::FENCED; in TEST_P()
|
D | TestPartitioningRandom.cpp | 684 if (randFrac() < 0.5 && computeMode == WrapperExecution::ComputeMode::ASYNC) { in TEST_P() 685 computeMode = WrapperExecution::ComputeMode::FENCED; in TEST_P() 1015 if (computeMode == WrapperExecution::ComputeMode::FENCED) { in TEST_P() 1027 computeMode = WrapperExecution::ComputeMode::ASYNC; in TEST_P()
|
D | TestCompatibilityLayer.cpp | 110 result = execution.compute(Execution::ComputeMode::SYNC); in execute()
|
D | TestExecution.cpp | 829 EXPECT_EQ(execution.compute(WrapperExecution::ComputeMode::BURST), kExpectResult); in TestWait()
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | SupportLibraryWrapper.cpp | 23 Execution::ComputeMode Execution::mComputeMode = Execution::ComputeMode::SYNC;
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | SupportLibraryWrapper.h | 599 enum class ComputeMode { SYNC, BURST, FENCED }; enum 600 static ComputeMode setComputeMode(ComputeMode mode) { in setComputeMode() 601 ComputeMode oldComputeMode = mComputeMode; in setComputeMode() 605 static ComputeMode getComputeMode() { return mComputeMode; } in getComputeMode() 607 Result compute(ComputeMode computeMode = mComputeMode) { 609 case ComputeMode::SYNC: { 613 case ComputeMode::BURST: { 625 case ComputeMode::FENCED: { 683 static ComputeMode mComputeMode;
|
/packages/modules/NeuralNetworks/ |
D | TEST_MAPPING | 28 // * computeMode = ComputeMode::ASYNC 45 // // * computeMode = ComputeMode::ASYNC
|