Merge "[RenderScript] pass correct length of ains to BLAS functions"
This commit is contained in:
@ -616,7 +616,7 @@ nScriptIntrinsicBLAS_Double(JNIEnv *_env, jobject _this, jlong con, jlong id, ji
|
||||
in_allocs[2] = (RsAllocation)C;
|
||||
|
||||
rsScriptForEachMulti((RsContext)con, (RsScript)id, 0,
|
||||
in_allocs, sizeof(in_allocs), nullptr,
|
||||
in_allocs, NELEM(in_allocs), nullptr,
|
||||
&call, sizeof(call), nullptr, 0);
|
||||
}
|
||||
|
||||
@ -651,7 +651,7 @@ nScriptIntrinsicBLAS_Complex(JNIEnv *_env, jobject _this, jlong con, jlong id, j
|
||||
in_allocs[2] = (RsAllocation)C;
|
||||
|
||||
rsScriptForEachMulti((RsContext)con, (RsScript)id, 0,
|
||||
in_allocs, sizeof(in_allocs), nullptr,
|
||||
in_allocs, NELEM(in_allocs), nullptr,
|
||||
&call, sizeof(call), nullptr, 0);
|
||||
}
|
||||
|
||||
@ -686,7 +686,7 @@ nScriptIntrinsicBLAS_Z(JNIEnv *_env, jobject _this, jlong con, jlong id, jint fu
|
||||
in_allocs[2] = (RsAllocation)C;
|
||||
|
||||
rsScriptForEachMulti((RsContext)con, (RsScript)id, 0,
|
||||
in_allocs, sizeof(in_allocs), nullptr,
|
||||
in_allocs, NELEM(in_allocs), nullptr,
|
||||
&call, sizeof(call), nullptr, 0);
|
||||
}
|
||||
|
||||
@ -712,7 +712,7 @@ nScriptIntrinsicBLAS_BNNM(JNIEnv *_env, jobject _this, jlong con, jlong id, jint
|
||||
in_allocs[2] = (RsAllocation)C;
|
||||
|
||||
rsScriptForEachMulti((RsContext)con, (RsScript)id, 0,
|
||||
in_allocs, sizeof(in_allocs), nullptr,
|
||||
in_allocs, NELEM(in_allocs), nullptr,
|
||||
&call, sizeof(call), nullptr, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user