1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/ruy: add support for matrix multiplication library

This commit is contained in:
Alexandre Abadie 2022-04-08 09:13:28 +02:00
parent 755ea30da7
commit df34c0e3de
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
6 changed files with 46 additions and 0 deletions

9
pkg/ruy/Kconfig Normal file
View File

@ -0,0 +1,9 @@
# Copyright (c) 2022 Inria
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
config PACKAGE_RUY
bool "The ruy matrix multiplication library"
depends on TEST_KCONFIG

9
pkg/ruy/Makefile Normal file
View File

@ -0,0 +1,9 @@
PKG_NAME=ruy
PKG_URL=https://github.com/google/ruy
PKG_VERSION=7ef39c5745a61f43071e699c6a96da41701ae59f
PKG_LICENSE=Apache 2.0
include $(RIOTBASE)/pkg/pkg.mk
all:
@:

3
pkg/ruy/Makefile.dep Normal file
View File

@ -0,0 +1,3 @@
FEATURES_REQUIRED += cpp
USEMODULE += cpp11-compat

5
pkg/ruy/Makefile.include Normal file
View File

@ -0,0 +1,5 @@
INCLUDES += -I$(PKGDIRBASE)/ruy
PSEUDOMODULES += ruy
CFLAGS += -DTHIRD_PARTY_RUY_RUY_GTEST_WRAPPER_H_

11
pkg/ruy/doc.txt Normal file
View File

@ -0,0 +1,11 @@
/**
* @defgroup pkg_ruy The ruy matrix multiplication library
* @ingroup pkg
* @brief ruy is a matrix multiplication library
*
* # License
*
* Licensed under Apache 2.0.
*
* @see https://github.com/google/ruy
*/

9
pkg/ruy/ruy.mk Normal file
View File

@ -0,0 +1,9 @@
MODULE = ruy
SRCXXEXT = cc
SRCXXEXCLUDE = $(wildcard *_test.$(SRCXXEXT))
SRCXXEXCLUDE += benchmark.cc pack_%.cc test_%.cc
CFLAGS += -Wno-unused-variable
include $(RIOTBASE)/Makefile.base