commit | cd19e0e1b0fd24cd3d785beff1b50583e572dae0 | [log] [tgz] |
---|---|---|
author | Petr Hosek <phosek@google.com> | Wed May 25 10:37:54 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 25 10:38:30 2022 -0700 |
tree | 9b151216f3063a9ae270ba1524b197822e4484fa | |
parent | efd639c7848791506e4e4c868f66863422730310 [diff] |
Support install rules in the CMake build This allows using ruy from other projects through find_package. Closes https://github.com/google/ruy/pull/309 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/ruy/pull/309 from petrhosek:cmake-install b6168af3fe06ec794f5b5253b5cc626ffac21916 PiperOrigin-RevId: 450959295
This is not an officially supported Google product.
ruy is a matrix multiplication library. Its focus is to cover the matrix multiplication needs of neural network inference engines. Its initial user has been TensorFlow Lite, where it is used by default on the ARM CPU architecture.
ruy supports both floating-point and 8bit-integer-quantized matrices.
ruy is designed to achieve high performance not just on very large sizes, as is the focus of many established libraries, but on whatever are the actual sizes and shapes of matrices most critical in current TensorFlow Lite applications. This often means quite small sizes, e.g. 100x100 or even 50x50, and all sorts of rectangular shapes. It's not as fast as completely specialized code for each shape, but it aims to offer a good compromise of speed across all shapes and a small binary size.
Some documentation will eventually be available in the doc/ directory, see doc/README.md.