/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
H A D | BNNMTest.java | 42 private int b_offset; field in class:BNNMTest 195 b_offset = 12; 234 mBLAS.BNNM(matA, a_offset, matB, b_offset, matC, c_offset, c_mult_int); 272 b_offset = 23; 305 mBLAS.BNNM(matA, a_offset, matB, b_offset, matC, c_offset, c_mult_int); 327 b_offset = 84; 354 mBLAS.BNNM(matA, a_offset, matB, b_offset, matC, c_offset, c_mult_int); 364 mBLAS.BNNM(matA, a_offset, matB, b_offset, matC, c_offset, c_mult_int);
|
H A D | SGEMMTest.java | 42 private int b_offset; field in class:SGEMMTest 131 b_offset = 12; 143 }, b_offset); 176 b_offset = 23; 198 }, b_offset); 233 b_offset = 84; 246 float[] b_float = byteToFloat(b_byte, b_offset);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicBLAS.cpp | 43 uint8_t b_offset = 0; member in class:android::renderscript::RsdCpuScriptIntrinsicBLAS 51 const uint8_t* b, uint8_t b_offset, size_t ldb, 820 (const uint8_t*)B, call->b_offset, ldb, 835 const uint8_t* b, uint8_t b_offset, size_t ldb, 858 const int32_t b_as_int = (((int32_t)(b_as_byte)) - b_offset); 885 b, -b_offset, ldb, c, c_offset, 833 kernelBNNM(size_t m, size_t n, size_t k, const uint8_t* a, uint8_t a_offset, size_t lda, const uint8_t* b, uint8_t b_offset, size_t ldb, uint8_t* c, int32_t c_offset, size_t ldc, int32_t c_mult_int) argument
|
/frameworks/rs/cpp/ |
H A D | ScriptIntrinsicBLAS.cpp | 162 RsAllocation A, int a_offset, RsAllocation B, int b_offset, 171 call.b_offset = b_offset & 0xFF; 1839 void ScriptIntrinsicBLAS::BNNM(const sp<Allocation>& A, int a_offset, const sp<Allocation>& B, int b_offset, argument 1846 if (b_offset < 0 || b_offset > 255) { 1847 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Invalid b_offset passed to BNNM"); 1855 B->getID(), b_offset, C->getID(), c_offset, c_mult); 161 nScriptIntrinsicBLAS_BNNM(RS* mRS, RsContext con, RsScript id, int M, int N, int K, RsAllocation A, int a_offset, RsAllocation B, int b_offset, RsAllocation C, int c_offset, int c_mult_int) argument
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptIntrinsicBLAS.java | 3284 * @param b_offset The offset for all values in matrix B, e.g B[i,j] = B[i,j] - b_offset. Value should be from 0 to 255. 3289 public void BNNM(Allocation A, int a_offset, Allocation B, int b_offset, Allocation C, int c_offset, int c_mult) { argument 3295 if (b_offset < 0 || b_offset > 255) { 3296 throw new RSRuntimeException("Invalid b_offset passed to BNNM"); 3304 mRS.nScriptIntrinsicBLAS_BNNM(getID(mRS), M, N, K, A.getID(mRS), a_offset, B.getID(mRS), b_offset, C.getID(mRS), c_offset, c_mult);
|
H A D | RenderScript.java | 1015 long A, int a_offset, long B, int b_offset, long C, int c_offset, 1018 long A, int a_offset, long B, int b_offset, long C, int c_offset, 1021 rsnScriptIntrinsicBLAS_BNNM(mContext, id, M, N, K, A, a_offset, B, b_offset, C, c_offset, c_mult_int); 1014 rsnScriptIntrinsicBLAS_BNNM(long con, long id, int M, int N, int K, long A, int a_offset, long B, int b_offset, long C, int c_offset, int c_mult_int) argument 1017 nScriptIntrinsicBLAS_BNNM(long id, int M, int N, int K, long A, int a_offset, long B, int b_offset, long C, int c_offset, int c_mult_int) argument
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicBLAS.java | 4158 * @param b_offset The offset for all values in matrix B, e.g B[i,j] = B[i,j] - b_offset. Value should be from 0 to 255. 4163 public void BNNM(Allocation A, int a_offset, Allocation B, int b_offset, Allocation C, int c_offset, int c_mult) { argument 4169 if (b_offset < 0 || b_offset > 255) { 4170 throw new RSRuntimeException("Invalid b_offset passed to BNNM"); 4186 mRS.nScriptIntrinsicBLAS_BNNM(getID(mRS), M, N, K, aID, a_offset, bID, b_offset, cID, c_offset, c_mult, mUseIncSupp);
|
H A D | RenderScript.java | 965 long A, int a_offset, long B, int b_offset, long C, int c_offset, 968 long A, int a_offset, long B, int b_offset, long C, int c_offset, 971 rsnScriptIntrinsicBLAS_BNNM(mContext, mIncCon, id, M, N, K, A, a_offset, B, b_offset, C, c_offset, c_mult_int, mUseInc); 964 rsnScriptIntrinsicBLAS_BNNM(long con, long incCon, long id, int M, int N, int K, long A, int a_offset, long B, int b_offset, long C, int c_offset, int c_mult_int, boolean mUseInc) argument 967 nScriptIntrinsicBLAS_BNNM(long id, int M, int N, int K, long A, int a_offset, long B, int b_offset, long C, int c_offset, int c_mult_int, boolean mUseInc) argument
|
/frameworks/rs/ |
H A D | rsDefines.h | 470 uint8_t b_offset; member in struct:__anon2024
|
/frameworks/rs/support/jni/ |
H A D | android_renderscript_RenderScript.cpp | 751 jlong A, jint a_offset, jlong B, jint b_offset, jlong C, jint c_offset, 760 call.b_offset = b_offset & 0xFF; 750 nScriptIntrinsicBLAS_BNNM(JNIEnv *_env, jobject _this, jlong con, jlong incCon, jlong id, jint M, jint N, jint K, jlong A, jint a_offset, jlong B, jint b_offset, jlong C, jint c_offset, jint c_mult_int, jboolean mUseInc) argument
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 756 jlong A, jint a_offset, jlong B, jint b_offset, jlong C, jint c_offset, 765 call.b_offset = b_offset & 0xFF; 755 nScriptIntrinsicBLAS_BNNM(JNIEnv *_env, jobject _this, jlong con, jlong id, jint M, jint N, jint K, jlong A, jint a_offset, jlong B, jint b_offset, jlong C, jint c_offset, jint c_mult_int) argument
|