Comments (1)
Thanks for your question! There is currently no support for C += AB in ruy. The good news is that, for N x N x N work, if you can afford the extra memory to do AB = C'
, C = C + C'
as a separate operation, the summation at the end is only quadratic work so the penalty is not too large for big enough matrices. We have addressed these issues in TF Lite by calling out to e GEMM library, like ruy, and then calling custom code with intrinsics, such as this example:
For small matrices though or for very constrained memory situations, the above solution does have drawbacks. But that's the answer as of today.
from ruy.
Related Issues (20)
- Are there any documentations? HOT 1
- performance data HOT 3
- CMake install missing HOT 1
- How do I install this library on an arm_32 machine? HOT 1
- Compilation fails with GCC on ARM CortexA72 because of asm impossible constraints HOT 2
- Some question about PMU HOT 1
- AVX support on Apple MacOS HOT 1
- QuantizeMultiplier public API HOT 3
- How to statically link with ruy? HOT 1
- Why is the result zero๏ผ HOT 1
- Question about NEON instruction on aarch64 architecture
- Ruy HOT 1
- Question about performance comparison
- cmake_minimum_required is called after project()
- Build examples
- Question about relationship between row/cols and order
- Compilation error when Scalar is Eigen::half and not float
- Compile failure on armv7a HOT 1
- Error Compiling, Impossible Assembly Constraints HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruy.