Searched refs:syncFenceFd (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NeuralNetworks/runtime/ |
D | NeuralNetworks.cpp | 1504 int ANeuralNetworksEvent_createFromSyncFenceFd(int syncFenceFd, ANeuralNetworksEvent** event) { in ANeuralNetworksEvent_createFromSyncFenceFd() argument 1509 if (syncFenceFd <= 0) { in ANeuralNetworksEvent_createFromSyncFenceFd() 1511 << syncFenceFd; in ANeuralNetworksEvent_createFromSyncFenceFd() 1516 std::make_unique<SyncFenceEvent>(syncFenceFd, nullptr, nullptr); in ANeuralNetworksEvent_createFromSyncFenceFd() 1521 int ANeuralNetworksEvent_getSyncFenceFd(const ANeuralNetworksEvent* event, int* syncFenceFd) { in ANeuralNetworksEvent_getSyncFenceFd() argument 1522 if (syncFenceFd == nullptr) { in ANeuralNetworksEvent_getSyncFenceFd() 1526 *syncFenceFd = -1; in ANeuralNetworksEvent_getSyncFenceFd() 1533 *syncFenceFd = e->getSyncFenceFd(/*shouldDup*/ true); in ANeuralNetworksEvent_getSyncFenceFd() 1534 if (*syncFenceFd <= 0) { in ANeuralNetworksEvent_getSyncFenceFd() 1536 *syncFenceFd = -1; in ANeuralNetworksEvent_getSyncFenceFd() [all …]
|
D | Manager.cpp | 636 int syncFenceFd = -1; in executeFenced() local 638 syncFenceFd = dup(syncFence.getFd()); in executeFenced() 639 if (syncFenceFd < 0) { in executeFenced() 646 return {ANEURALNETWORKS_NO_ERROR, syncFenceFd, executeFencedInfoCallback, timing}; in executeFenced() 774 int syncFenceFd = -1; in computeFenced() local 776 syncFenceFd = dup(syncFence.getFd()); in computeFenced() 777 if (syncFenceFd < 0) { in computeFenced() 784 return {ANEURALNETWORKS_NO_ERROR, syncFenceFd, executeFencedInfoCallback, timing}; in computeFenced()
|
D | ExecutionBuilder.cpp | 1503 int syncFenceFd; in computeFenced() local 1511 std::tie(n, syncFenceFd, executeFencedInfoCallback, timing) = in computeFenced() 1518 std::tie(n, syncFenceFd, executeFencedInfoCallback, timing) = mPreparedModel->executeFenced( in computeFenced() 1522 if (syncFenceFd < 0 && executeFencedInfoCallback == nullptr) { in computeFenced() 1525 return {n, syncFenceFd, executeFencedInfoCallback}; in computeFenced()
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriver.cpp | 520 int syncFenceFd = fenceHandle.get(); in executeFenced() local 521 if (syncWait(syncFenceFd, -1) != FenceState::SIGNALED) { in executeFenced()
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | SampleDriver.cpp | 693 int syncFenceFd = fenceHandle.getNativeHandle()->data[0]; in executeFenced() local 694 if (syncWait(syncFenceFd, -1) != FenceState::SIGNALED) { in executeFenced()
|
D | SampleDriverFloatXNNPACK.cpp | 1806 int syncFenceFd = fenceHandle.getNativeHandle()->data[0]; in executeFenced() local 1807 if (syncWait(syncFenceFd, -1) != FenceState::SIGNALED) { in executeFenced()
|