Home
last modified time | relevance | path

Searched refs:ANeuralNetworksEvent (Results 1 – 8 of 8) sorted by relevance

/frameworks/ml/nn/runtime/include/
DNeuralNetworks.h6260 typedef struct ANeuralNetworksEvent ANeuralNetworksEvent; typedef
7891 ANeuralNetworksEvent** event) __INTRODUCED_IN(27);
8015 int ANeuralNetworksEvent_wait(ANeuralNetworksEvent* event) __INTRODUCED_IN(27);
8027 void ANeuralNetworksEvent_free(ANeuralNetworksEvent* event) __INTRODUCED_IN(27);
8045 int ANeuralNetworksEvent_createFromSyncFenceFd(int sync_fence_fd, ANeuralNetworksEvent** event)
8069 int ANeuralNetworksEvent_getSyncFenceFd(const ANeuralNetworksEvent* event, int* sync_fence_fd)
8143 ANeuralNetworksExecution* execution, const ANeuralNetworksEvent* const* dependencies,
8144 uint32_t num_dependencies, uint64_t duration, ANeuralNetworksEvent** event)
DNeuralNetworksWrapper.h337 void set(ANeuralNetworksEvent* newEvent) { in set()
343 ANeuralNetworksEvent* getHandle() const { return mEvent; } in getHandle()
346 ANeuralNetworksEvent* mEvent = nullptr;
460 ANeuralNetworksEvent* ev = nullptr; in startCompute()
468 std::vector<const ANeuralNetworksEvent*> deps(dependencies.size()); in startComputeWithDependencies()
471 ANeuralNetworksEvent* ev = nullptr; in startComputeWithDependencies()
/frameworks/ml/nn/runtime/test/
DTestNeuralNetworksWrapper.h394 ANeuralNetworksEvent* ev = nullptr; in startCompute()
402 std::vector<const ANeuralNetworksEvent*> deps(dependencies.size()); in startComputeWithDependencies()
405 ANeuralNetworksEvent* ev = nullptr; in startComputeWithDependencies()
418 ANeuralNetworksEvent* event = nullptr; in compute()
443 ANeuralNetworksEvent* event = nullptr; in compute()
DTestTrivialModel.cpp161 ANeuralNetworksEvent* eventBufferUnlock; in TEST_F()
162 ANeuralNetworksEvent* eventToSignal; in TEST_F()
224 ANeuralNetworksEvent* event1; in TEST_F()
235 ANeuralNetworksEvent* event2; in TEST_F()
DTestValidation.cpp1256 ANeuralNetworksEvent* event; in TEST_F()
1276 ANeuralNetworksEvent* event; in TEST_F()
1286 ANeuralNetworksEvent* event; in TEST_F()
1311 ANeuralNetworksEvent* event; in TEST_F()
1791 ANeuralNetworksEvent* event; in TEST_F()
1806 ANeuralNetworksEvent* event; in TEST_F()
1832 ANeuralNetworksEvent* event1 = nullptr; in TEST_F()
1842 ANeuralNetworksEvent* event2 = nullptr; in TEST_F()
1853 ANeuralNetworksEvent* wait_for_list[] = {event1, nullptr}; in TEST_F()
1885 ANeuralNetworksEvent* event; in TEST_F()
[all …]
DTestIntrospectionControl.cpp195 ANeuralNetworksEvent* mEvent = nullptr;
/frameworks/ml/nn/runtime/
DNeuralNetworks.cpp1338 ANeuralNetworksEvent** event) { in ANeuralNetworksExecution_startCompute()
1367 *event = reinterpret_cast<ANeuralNetworksEvent*>(e.release()); in ANeuralNetworksExecution_startCompute()
1382 int ANeuralNetworksEvent_wait(ANeuralNetworksEvent* event) { in ANeuralNetworksEvent_wait()
1394 void ANeuralNetworksEvent_free(ANeuralNetworksEvent* event) { in ANeuralNetworksEvent_free()
1479 int ANeuralNetworksEvent_createFromSyncFenceFd(int syncFenceFd, ANeuralNetworksEvent** event) { in ANeuralNetworksEvent_createFromSyncFenceFd()
1491 *event = reinterpret_cast<ANeuralNetworksEvent*>(e.release()); in ANeuralNetworksEvent_createFromSyncFenceFd()
1495 int ANeuralNetworksEvent_getSyncFenceFd(const ANeuralNetworksEvent* event, int* syncFenceFd) { in ANeuralNetworksEvent_getSyncFenceFd()
1517 ANeuralNetworksExecution* execution, const ANeuralNetworksEvent* const* dependencies, in ANeuralNetworksExecution_startComputeWithDependencies()
1518 uint32_t numOfDependencies, uint64_t duration, ANeuralNetworksEvent** event) { in ANeuralNetworksExecution_startComputeWithDependencies()
1553 *event = reinterpret_cast<ANeuralNetworksEvent*>(e.release()); in ANeuralNetworksExecution_startComputeWithDependencies()
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t681 * ANeuralNetworksEvent is an opaque type that represents an event
686 typedef struct ANeuralNetworksEvent ANeuralNetworksEvent;
2317 ANeuralNetworksEvent** event) __INTRODUCED_IN(27);
2441 int ANeuralNetworksEvent_wait(ANeuralNetworksEvent* event) __INTRODUCED_IN(27);
2453 void ANeuralNetworksEvent_free(ANeuralNetworksEvent* event) __INTRODUCED_IN(27);
2459 * Create a {@link ANeuralNetworksEvent} from a sync_fence file descriptor.
2461 * The newly created ANeuralNetworksEvent does not take ownership of the provided sync_fence_fd,
2471 int ANeuralNetworksEvent_createFromSyncFenceFd(int sync_fence_fd, ANeuralNetworksEvent** event)
2477 * If the ANeuralNetworksEvent is not backed by a sync fence, the sync_fence_fd
2495 int ANeuralNetworksEvent_getSyncFenceFd(const ANeuralNetworksEvent* event, int* sync_fence_fd)
[all …]