Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12b4bc76 authored by Michael Butler's avatar Michael Butler Committed by android-build-merger
Browse files

NNAPI Burst object cleanup -- VTS update

am: 60a2253b

Change-Id: I9a83a290c7f52a5e8babb229aa781ef189651918
parents af32ed1e 60a2253b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -127,7 +127,7 @@ static std::unique_ptr<::android::nn::ExecutionBurstController> CreateBurst(
}
static std::unique_ptr<::android::nn::ExecutionBurstController> CreateBurst(
        const sp<V1_2::IPreparedModel>& preparedModel) {
    return ::android::nn::createExecutionBurstController(preparedModel, /*blocking=*/true);
    return ::android::nn::ExecutionBurstController::create(preparedModel, /*blocking=*/true);
}
enum class Executor { ASYNC, SYNC, BURST };
enum class OutputType { FULLY_SPECIFIED, UNSPECIFIED, INSUFFICIENT };
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ static void validate(const sp<IPreparedModel>& preparedModel, const std::string&

        // create burst
        std::unique_ptr<::android::nn::ExecutionBurstController> burst =
                ::android::nn::createExecutionBurstController(preparedModel, /*blocking=*/true);
                ::android::nn::ExecutionBurstController::create(preparedModel, /*blocking=*/true);
        ASSERT_NE(nullptr, burst.get());

        // create memory keys