Searched refs:ComputeMode (Results 1 – 11 of 11) 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 | 481 enum class ComputeMode { SYNC, ASYNC, BURST, FENCED }; enum 482 static ComputeMode setComputeMode(ComputeMode mode) { in setComputeMode() 483 ComputeMode oldComputeMode = mComputeMode; in setComputeMode() 487 static ComputeMode getComputeMode() { return mComputeMode; } in getComputeMode() 489 Result compute(ComputeMode computeMode = mComputeMode) { 491 case ComputeMode::SYNC: { 494 case ComputeMode::ASYNC: { 507 case ComputeMode::BURST: { 519 case ComputeMode::FENCED: { 556 static ComputeMode mComputeMode;
|
D | TestUnknownDimensions.cpp | 80 std::vector<Execution::ComputeMode> computeModes = { 81 Execution::ComputeMode::SYNC, 82 Execution::ComputeMode::FENCED}; 89 Execution::ComputeMode computeMode); 170 Execution::ComputeMode computeMode) { in TestOne()
|
D | SupportLibraryTestGenerated.cpp | 71 Execution* execution, Execution::ComputeMode computeMode, 92 Execution::ComputeMode mComputeMode = Execution::getComputeMode(); 245 Execution::ComputeMode computeMode, Result* result, in computeWithPtrs() 285 Execution::ComputeMode computeMode, Result* result, in computeWithDeviceMemories() 554 mComputeMode = Execution::ComputeMode::SYNC; in TEST_P() 560 mComputeMode = Execution::ComputeMode::BURST; in TEST_P() 586 mComputeMode = Execution::ComputeMode::FENCED; in TEST_P()
|
D | TestNeuralNetworksWrapper.cpp | 23 Execution::ComputeMode Execution::mComputeMode = Execution::ComputeMode::SYNC;
|
D | TestGenerated.cpp | 89 Execution::ComputeMode mComputeMode = Execution::getComputeMode(); 453 mComputeMode = Execution::ComputeMode::SYNC; in TEST_P() 458 mComputeMode = Execution::ComputeMode::ASYNC; in TEST_P() 463 mComputeMode = Execution::ComputeMode::BURST; in TEST_P() 489 mComputeMode = Execution::ComputeMode::FENCED; in TEST_P()
|
D | TestPartitioningRandom.cpp | 701 if (randFrac() < 0.5 && computeMode == WrapperExecution::ComputeMode::ASYNC) { in TEST_P() 702 computeMode = WrapperExecution::ComputeMode::FENCED; in TEST_P() 1032 if (computeMode == WrapperExecution::ComputeMode::FENCED) { in TEST_P() 1044 computeMode = WrapperExecution::ComputeMode::ASYNC; in TEST_P()
|
D | TestExecution.cpp | 828 EXPECT_EQ(execution.compute(WrapperExecution::ComputeMode::BURST), kExpectResult); in TestWait()
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | SupportLibraryWrapper.h | 584 enum class ComputeMode { SYNC, BURST, FENCED }; enum 585 static ComputeMode setComputeMode(ComputeMode mode) { in setComputeMode() 586 ComputeMode oldComputeMode = mComputeMode; in setComputeMode() 590 static ComputeMode getComputeMode() { return mComputeMode; } in getComputeMode() 592 Result compute(ComputeMode computeMode = mComputeMode) { 594 case ComputeMode::SYNC: { 597 case ComputeMode::BURST: { 609 case ComputeMode::FENCED: { 657 static ComputeMode mComputeMode;
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | SupportLibraryWrapper.cpp | 23 Execution::ComputeMode Execution::mComputeMode = Execution::ComputeMode::SYNC;
|
/packages/modules/NeuralNetworks/ |
D | TEST_MAPPING | 23 // * computeMode = ComputeMode::ASYNC
|