• Home
  • Raw
  • Download

Lines Matching refs:syncFenceFd

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()
1565 int syncFenceFd = e->getSyncFenceFd(/*should_dup*/ false); in ANeuralNetworksExecution_startComputeWithDependencies() local
1566 if (syncFenceFd < 0) { in ANeuralNetworksExecution_startComputeWithDependencies()
1569 waitForList.push_back(syncFenceFd); in ANeuralNetworksExecution_startComputeWithDependencies()
1579 for (int syncFenceFd : waitForList) { in ANeuralNetworksExecution_startComputeWithDependencies() local
1580 if (syncFenceFd > 0) { in ANeuralNetworksExecution_startComputeWithDependencies()
1581 auto w = syncWait(syncFenceFd, -1); in ANeuralNetworksExecution_startComputeWithDependencies()
1583 VLOG(EXECUTION) << "syncWait failed, fd: " << syncFenceFd; in ANeuralNetworksExecution_startComputeWithDependencies()