diff options
author | Miao Wang <miaowang@google.com> | 2017-07-11 17:21:21 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-07-11 17:21:21 +0000 |
commit | c621f50d3b277beedc497303f6c3b0499593dc3f (patch) | |
tree | ffb711413db97397ac2bfb053d11c71d4b89c7a9 | |
parent | 3f40642ca0401b7b9885ef4df6c10db38e31680e (diff) | |
parent | 701e5d0b8bba426ffad18c3bbf63a03194ec4fd9 (diff) | |
download | rs-c621f50d3b277beedc497303f6c3b0499593dc3f.tar.gz |
Merge "Make gemmlowp able to run with multi-threads." am: f107b0ce6d am: fbea329269
am: 701e5d0b8b
Change-Id: I1dab75f1bd2073ad396cecda3eb571b490b4d871
-rw-r--r-- | cpu_ref/rsCpuIntrinsicBLAS.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu_ref/rsCpuIntrinsicBLAS.cpp b/cpu_ref/rsCpuIntrinsicBLAS.cpp index 4b086341..d60a3b90 100644 --- a/cpu_ref/rsCpuIntrinsicBLAS.cpp +++ b/cpu_ref/rsCpuIntrinsicBLAS.cpp @@ -877,6 +877,10 @@ void RsdCpuScriptIntrinsicBLAS::kernelBNNM(size_t m, size_t n, size_t k, #endif // Using gemmlowp to calculate the low precision 8 bit GEMM. + // Set MaxNumThreads to 0. The value 0 lets the implementation query + // the system to determine the number of hardware threads + gemmlowp::eight_bit_int_gemm::SetMaxNumThreads(0); + bool transpose_a = true; bool transpose_b = false; bool transpose_c = true; |