Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.cpp224 auto closestDeadline = deadline; in executeFenced() local
227 if (!closestDeadline.has_value() || *closestDeadline > timeoutDurationDeadline) { in executeFenced()
228 closestDeadline = timeoutDurationDeadline; in executeFenced()
246 if (closestDeadline.has_value()) { in executeFenced()
247 executor.setDeadline(*closestDeadline); in executeFenced()
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriverAidl.cpp537 auto closestDeadline = deadline; in executeFenced() local
540 if (!closestDeadline.has_value() || *closestDeadline > timeoutDurationDeadline) { in executeFenced()
541 closestDeadline = timeoutDurationDeadline; in executeFenced()
562 if (closestDeadline.has_value()) { in executeFenced()
563 executor.setDeadline(*closestDeadline); in executeFenced()
/packages/modules/NeuralNetworks/runtime/
DManager.cpp1113 auto closestDeadline = deadline; in executeFenced() local
1116 if (!closestDeadline.has_value() || *closestDeadline > timeoutDurationDeadline) { in executeFenced()
1117 closestDeadline = timeoutDurationDeadline; in executeFenced()
1122 closestDeadline, loopTimeoutDuration, {}); in executeFenced()
1259 auto closestDeadline = deadline; in computeFenced() local
1262 if (!closestDeadline.has_value() || *closestDeadline > timeoutDurationDeadline) { in computeFenced()
1263 closestDeadline = timeoutDurationDeadline; in computeFenced()
1267 const auto [result, outputShapes, timing] = compute(nullptr, closestDeadline); in computeFenced()
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriver.cpp691 auto closestDeadline = deadline; in executeFenced() local
694 if (!closestDeadline.has_value() || *closestDeadline > timeoutDurationDeadline) { in executeFenced()
695 closestDeadline = timeoutDurationDeadline; in executeFenced()
718 if (closestDeadline.has_value()) { in executeFenced()
719 executor.setDeadline(*closestDeadline); in executeFenced()