2023-04-25 13:16:50 +02:00
|
|
|
config BR2_PACKAGE_RUY_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
default y if BR2_PACKAGE_CPUINFO_ARCH_SUPPORTS
|
|
|
|
|
2022-12-07 20:16:34 +01:00
|
|
|
config BR2_PACKAGE_RUY
|
|
|
|
bool "ruy"
|
2023-04-25 13:16:50 +02:00
|
|
|
depends on BR2_PACKAGE_CPUINFO_ARCH_SUPPORTS
|
2022-12-07 20:16:34 +01:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2023-04-25 13:16:50 +02:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # cpuinfo
|
|
|
|
select BR2_PACKAGE_CPUINFO
|
2022-12-07 20:16:34 +01:00
|
|
|
help
|
2023-04-25 13:16:50 +02:00
|
|
|
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.
|
2022-12-07 20:16:34 +01:00
|
|
|
|
|
|
|
https://github.com/google/ruy
|
2023-04-25 13:16:50 +02:00
|
|
|
|
|
|
|
comment "ruy needs a toolchain w/ C++14, threads"
|
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_TOOLCHAIN_HAS_THREADS
|