[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/LIBNNPACK PATCH 4/5] Config.uk: Add configuration options for backends


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Wed, 16 Oct 2019 12:49:51 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EkAClLuW2jHw0diAACZUUeIgfO2o+zps2056AzjgG+w=; b=Nk6KtNrQ+3Rcnr6uYz6L22tGwaDJ95tjhuPk++OkUTOVl5jTPgyZMHkhE4KqHqeXfhFOH46cK9eMXYVDoRWCU67Fi9B2LJeD0c8XgSZQxSZod4sz5KrjAdqEnkw7KJ/QOn1lqHnjUvxXOhOALm3apF5nbgZioEjKE4YW6EJZsuALcy7WU+4wr9nH/YgVCpfz1JSGV3tVgN3RKz981hEn5/L6mzzkPsMYFfkAXb/T8VprIqU4Kh93eod+mfHwET0mAGISW8wxfh+Hwywh8mLYb9/lPqKJgp0A3oFm/e73aQicQiPJmq9bwAMasW7L/Kb1LWPZEEm4Gse5dfFTzH9e7A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ao6qdR432zXnEeuimGhTcat3v+v6pQfSNNovYyzh3C5cWSTcBbA93QwY+umETHCpAB+iq7X7IkOr9BSNp2AFLs/seCPaIv6R53Jfc2p+Fq2xWyZBYlkKK3oZlaAd0x09Lm7iRIITY3P2pFDmat5u9EGN4QxxfmeW9wx0QSYeu1Q04dDvmHEtTCnxyvwA4xVXS4zv3A8ZC2ow4tUbyXyik5XL2AFDRpJ0mzDEkx1vJThg2XJSUxdRq0gk13OVSq9MP3MTo2NGyGOSeZJk/rILhRgLN0jlFUBSRcd+P9h8X2vuZLqV/ZKyoK+Ox39fkla9r0O8roV4bnt9soDfIaqfeA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>, Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 16 Oct 2019 12:49:59 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVhCAzvfD7xRb1jkqVDxSL11tOYA==
  • Thread-topic: [UNIKRAFT/LIBNNPACK PATCH 4/5] Config.uk: Add configuration options for backends

Currently we support only PSIMD and Scalar as backends.

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
 Config.uk | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/Config.uk b/Config.uk
index ee83105..88b18fa 100644
--- a/Config.uk
+++ b/Config.uk
@@ -7,3 +7,15 @@ menuconfig LIBNNPACK
        select UKSYSINFO
        default n
 
+if LIBNNPACK
+choice 
+       prompt "Backend"
+       default LIBNNPACK_BACKEND_PSIMD
+
+config LIBNNPACK_BACKEND_PSIMD
+       bool "PSIMD backend"
+
+config LIBNNPACK_BACKEND_SCALAR
+       bool "Scalar backend
+endchoice
+endif
-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.