OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38652db
)
Correctly pass number of input allocations for BLAS
author
Miao Wang
<miaowang@google.com>
Thu, 6 Oct 2016 17:45:42 +0000
(10:45 -0700)
committer
Miao Wang
<miaowang@google.com>
Fri, 7 Oct 2016 19:21:07 +0000
(19:21 +0000)
Bug:
31992305
Test: Build and CTS RsBlas test pass on Angler.
Change-Id: If49c0be003d9c2a2175924dc3303703b9ab49357
(cherry picked from commit
b742fcc808165fbeeb1a48761e7d629f60207de2
)
rs/jni/android_renderscript_RenderScript.cpp
patch
|
blob
|
history
diff --git
a/rs/jni/android_renderscript_RenderScript.cpp
b/rs/jni/android_renderscript_RenderScript.cpp
index
aa2a607
..
37cbd31
100644
(file)
--- a/
rs/jni/android_renderscript_RenderScript.cpp
+++ b/
rs/jni/android_renderscript_RenderScript.cpp
@@
-632,7
+632,7
@@
nScriptIntrinsicBLAS_Single(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);
}