From f6c70c5b71beeaa2b27eac496f60795e1c8c6d17 Mon Sep 17 00:00:00 2001 From: Thierry Moreau Date: Wed, 5 Aug 2020 08:15:31 -0700 Subject: [PATCH] [Target] 64-bit RPi4b target (#6211) --- python/tvm/target/target.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/tvm/target/target.py b/python/tvm/target/target.py index 597f8a59eeee7..1cde8752fdb90 100644 --- a/python/tvm/target/target.py +++ b/python/tvm/target/target.py @@ -188,7 +188,10 @@ def arm_cpu(model='unknown', options=None): "p20": ["-model=kirin970", "-mtriple=arm64-linux-android", "-mattr=+neon"], "p20pro": ["-model=kirin970", "-mtriple=arm64-linux-android", "-mattr=+neon"], "rasp3b": ["-model=bcm2837", "-mtriple=armv7l-linux-gnueabihf", "-mattr=+neon"], - "rasp4b": ["-model=bcm2711", "-mtriple=arm-linux-gnueabihf", "-mattr=+neon"], + "rasp4b": ["-model=bcm2711", "-mtriple=armv8l-linux-gnueabihf", "-mattr=+neon", + "-mcpu=cortex-a72"], + "rasp4b64": ["-model=bcm2711", "-mtriple=aarch64-linux-gnu", "-mattr=+neon", + "-mcpu=cortex-a72"], "rk3399": ["-model=rk3399", "-mtriple=aarch64-linux-gnu", "-mattr=+neon"], "pynq": ["-model=pynq", "-mtriple=armv7a-linux-eabi", "-mattr=+neon"], "ultra96": ["-model=ultra96", "-mtriple=aarch64-linux-gnu", "-mattr=+neon"],