Home
last modified time | relevance | path

Searched refs:syncFence (Results 1 – 4 of 4) sorted by relevance

/frameworks/ml/nn/runtime/
DExecutionBuilder.cpp641 int syncFence = -1; in startComputeFenced() local
649 int n = plan.next(controller, &executor, nullptr, syncFence); in startComputeFenced()
665 if (syncFence == -1) { in startComputeFenced()
671 return std::make_tuple(ANEURALNETWORKS_NO_ERROR, syncFence, computeFencedCallback); in startComputeFenced()
680 syncFence = syncFd; in startComputeFenced()
723 syncFence = -1; in startComputeFenced()
726 return std::make_tuple(fullN, syncFence, nullptr); in startComputeFenced()
730 uint64_t timeoutDurationAfterFence, int* syncFence) { in computeFenced() argument
731 CHECK(syncFence != nullptr); in computeFenced()
778 *syncFence = mSyncFenceFd; in computeFenced()
[all …]
DManager.cpp504 hidl_handle syncFence; in executeFenced() local
505 std::tie(n, syncFence, executeFencedCallback, timing) = in executeFenced()
515 if (syncFence.getNativeHandle()) { in executeFenced()
516 syncFenceFd = dup(syncFence.getNativeHandle()->data[0]); in executeFenced()
DVersionedInterfaces.cpp422 hal::hidl_handle syncFence; in executeFenced() local
430 [&syncFence, &errorStatus, &dispatchCallback]( in executeFenced()
433 syncFence = handle; in executeFenced()
448 return std::make_tuple(ANEURALNETWORKS_NO_ERROR, syncFence, dispatchCallback, timing); in executeFenced()
/frameworks/ml/nn/runtime/test/
DTestVersionedInterfaces.cpp418 auto makeExecuteFencedReturn(V1_3::ErrorStatus status, const hidl_handle& syncFence, in makeExecuteFencedReturn() argument
420 return [status, syncFence, dispatchCallback]( in makeExecuteFencedReturn()
426 cb(status, syncFence, dispatchCallback); in makeExecuteFencedReturn()
2131 const auto [resultCode, syncFence, dispatchCallback, timing] = in TEST_F()
2136 EXPECT_EQ(nullptr, syncFence.getNativeHandle()); in TEST_F()
2147 const auto [resultCode, syncFence, dispatchCallback, timing] = in TEST_F()
2152 EXPECT_EQ(nullptr, syncFence.getNativeHandle()); in TEST_F()
2163 const auto [resultCode, syncFence, dispatchCallback, timing] = in TEST_F()
2168 EXPECT_EQ(nullptr, syncFence.getNativeHandle()); in TEST_F()
2184 const auto [resultCode, syncFence, dispatchCallback, timing] = in TEST_F()
[all …]