Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.cpp223 auto closestDeadline = deadline; in executeFenced() local
226 if (!closestDeadline.has_value() || *closestDeadline > timeoutDurationDeadline) { in executeFenced()
227 closestDeadline = timeoutDurationDeadline; in executeFenced()
245 if (closestDeadline.has_value()) { in executeFenced()
246 executor.setDeadline(*closestDeadline); in executeFenced()
DSampleDriver.cpp702 auto closestDeadline = deadline; in executeFenced() local
705 if (!closestDeadline.has_value() || *closestDeadline > timeoutDurationDeadline) { in executeFenced()
706 closestDeadline = timeoutDurationDeadline; in executeFenced()
729 if (closestDeadline.has_value()) { in executeFenced()
730 executor.setDeadline(*closestDeadline); in executeFenced()
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriver.cpp528 auto closestDeadline = deadline; in executeFenced() local
531 if (!closestDeadline.has_value() || *closestDeadline > timeoutDurationDeadline) { in executeFenced()
532 closestDeadline = timeoutDurationDeadline; in executeFenced()
553 if (closestDeadline.has_value()) { in executeFenced()
554 executor.setDeadline(*closestDeadline); in executeFenced()
/packages/modules/NeuralNetworks/runtime/
DManager.cpp1063 auto closestDeadline = deadline; in executeFenced() local
1066 if (!closestDeadline.has_value() || *closestDeadline > timeoutDurationDeadline) { in executeFenced()
1067 closestDeadline = timeoutDurationDeadline; in executeFenced()
1072 closestDeadline, loopTimeoutDuration); in executeFenced()
1207 auto closestDeadline = deadline; in computeFenced() local
1210 if (!closestDeadline.has_value() || *closestDeadline > timeoutDurationDeadline) { in computeFenced()
1211 closestDeadline = timeoutDurationDeadline; in computeFenced()
1215 const auto [result, outputShapes, timing] = compute(nullptr, closestDeadline); in computeFenced()