PR #28392: [aarch64] make TensorFlow build for aarch64 linux natively with bazel Imported from GitHub PR https://github.com/tensorflow/tensorflow/pull/28392 Tested on Coral Dev Board running Mendel Linux chef release ``` bazel --host_jvm_args=-Xms128m --host_jvm_args=-Xmx2048m \ build --config opt --local_resources 1024,1,1 \ //tensorflow/tools/pip_package/build_pip_package ``` Copybara import of the project: - aaf0f0ea1e027d7a4d1fd40efa6bb2a5cfd5996d make TensorFlow build for aarch64 linux by Koan-Sin Tan <koansin.tan@gmail.com> - 9bb784b389b1c09f5bb390638a6e701c86fb8b6c Merge aaf0f0ea1e027d7a4d1fd40efa6bb2a5cfd5996d into 95563... by freedom" Koan-Sin Tan <koansin.tan@gmail.com> COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/tensorflow/pull/28392 from freedomtan:build_for_the_coral_dev_board aaf0f0ea1e027d7a4d1fd40efa6bb2a5cfd5996d PiperOrigin-RevId: 246834423
ruy is a matrix multiplication library. Its focus is to cover the matrix multiplication needs of TensorFlow Lite.
ruy supports both floating-point (like Eigen) and quantized (like gemmlowp).
ruy is very new, immature code. It has quite good test coverage, but the code is in flux, lacks comments, needs more cleanup, and there are no design docs at the moment.
We hope to improve on all that and integrate ruy into TensorFlow Lite, at first as a non-default path for ARM A64 only, over the next few weeks [April 2019].
ruy is designed to achieve maximal 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.
ruy is currently only optimized for ARM A64; other architectures have only slow reference code at the moment.
ruy is currently optimized only for the following combination of storage orders: LHS = row-major, RHS = column-major, destination = column-major. All other combinations of storage orders fall back to slow reference code at the moment.