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

Commit b742fcc8 authored by Miao Wang's avatar Miao Wang
Browse files

Correctly pass number of input allocations for BLAS

Bug: 31992305

Test: Build and CTS RsBlas test pass on Angler.
Change-Id: If49c0be003d9c2a2175924dc3303703b9ab49357
parent 25b64aad
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -644,7 +644,7 @@ nScriptIntrinsicBLAS_Single(JNIEnv *_env, jobject _this, jlong con, jlong id, ji
    in_allocs[2] = (RsAllocation)C;
    in_allocs[2] = (RsAllocation)C;


    rsScriptForEachMulti((RsContext)con, (RsScript)id, 0,
    rsScriptForEachMulti((RsContext)con, (RsScript)id, 0,
                         in_allocs, sizeof(in_allocs), nullptr,
                         in_allocs, NELEM(in_allocs), nullptr,
                         &call, sizeof(call), nullptr, 0);
                         &call, sizeof(call), nullptr, 0);
}
}