You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2021/02/14 15:20:35 UTC

[tvm] branch main updated: update stm32mp1 arm_cpu target configuration (#7443)

This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 2af3ab1  update stm32mp1 arm_cpu target configuration (#7443)
2af3ab1 is described below

commit 2af3ab1e36e0e78bac8448a0357abee317fabb1f
Author: Vincent Abriou <vi...@st.com>
AuthorDate: Sun Feb 14 16:20:07 2021 +0100

    update stm32mp1 arm_cpu target configuration (#7443)
    
    Add the -mcpu information to complete the picture.
    
    Signed-off-by: Vincent ABRIOU <vi...@st.com>
---
 python/tvm/target/target.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/python/tvm/target/target.py b/python/tvm/target/target.py
index 19fe09e..8942957 100644
--- a/python/tvm/target/target.py
+++ b/python/tvm/target/target.py
@@ -296,6 +296,7 @@ def arm_cpu(model="unknown", options=None):
             "-model=stm32mp1",
             "-mtriple=armv7a-linux-gnueabihf",
             "-mattr=+neon,+vfp4,+thumb2",
+            "-mcpu=cortex-a7",
         ],
         "thunderx": [
             "-model=thunderx",