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

[Minios-devel] [UNIKRAFT/LIBNNPACK PATCH v2 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: Fri, 18 Oct 2019 10:50:15 +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=qEcEuqn3TXdRXG5sIq75+yLMVlZ7No9qlPjw9uhd+sk=; b=ihBtwEyfEj3BA58s7SYGC1LxF9mbdyaNrgt1A8kiL68kzKUAV/xvHzgPIZJogTlMS3DNjHeGTgrfRRti5E1qyxYCPvNs0l9F+2jCk2aDl9W5P4X0IIuZM/Rr+D2HjoWu16Cw6o7Zhj0V+pkHRzxpwajDbMVekuEEF5SrXlq87nz4afwB5pyN9Ol9GXi6zX6EcBfs8htKB8CM2/HW0vyZENVGlvavbld/bXV0G0ogOLaYjaQbWorvvM3T+3HcM6zkgJrLBj8z3z/eoGXJGSpCMY69GmVZEMqbDKbTXIbr+BTwtmNqhl3J9lzPxA0AMjWz+BXHd8ekFsPcjORDTg1nDw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iHkh6a8qzy0cY+hUgKop6XzEZ0Cf9ZvnuvxhL5zz4LLgeqEPBaR0AAmjV5ge90p5pJiRtwy5YGdjweSKCt9mNvrPzJsFCXtir8zS3wwjxJp3phJgdhHU0nqzyJinQYj40SPZj5z0g+g8fjXQ5Pz/X/lCgx3NwuVeVTpCQ+N+HSZ+Bql1dkKQQu7pJVr88DwJckqvBHjctgeTHibF0f7c+9KjEwKQsCqyIrZRa/1ncucg80iA/0qnTSlZB+RR4iDONvOIJXfqaW/zgWebXFI7SYjJvvjpRyXwZvfMXK4U5ZpNtOcuL2ikwg5pWu267FuBymxutB7U/SJzuxqa7Baeaw==
  • 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: Fri, 18 Oct 2019 10:50:32 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVhaHSeZzSMAw0/06bkJkkUTzDsQ==
  • Thread-topic: [UNIKRAFT/LIBNNPACK PATCH v2 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>
Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx>
---
 Config.uk | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/Config.uk b/Config.uk
index e020c29..289d4e9 100644
--- a/Config.uk
+++ b/Config.uk
@@ -13,3 +13,15 @@ menuconfig LIBNNPACK
        select LIBNEWLIBC
        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®.