Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support NCNN_ISA environment variable detection #5687

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Commits on Jun 30, 2024

  1. Configuration menu
    Copy the full SHA
    fedc2fe View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    4eed5bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    12cfea5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4e60f22 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4db4e41 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Configuration menu
    Copy the full SHA
    6211838 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. feat: add support for NCNN_ISA environment variable detection

    Changes:
    - Implemented `get_isa_env` function to retrieve and parse ISA flags from the environment variable.
    
    Signed-off-by: Kaiyao Duan <inspiremenow@murena.io>
    inspireMeNow committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    63d817c View commit details
    Browse the repository at this point in the history
  2. fix: update CPU feature checks to include base feature dependencies

    Signed-off-by: Kaiyao Duan <inspiremenow@murena.io>
    inspireMeNow committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    9abfe52 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. fix: Refactor ISA environment variable handling

    - Updated `get_isa_env` function to compare ISA flags without leading characters.
    - Changed the way ISA flags are checked for various architectures, removing the leading '-' for better clarity.
    - Update CPU feature checks to include base feature dependencies.
    
    Signed-off-by: Kaiyao Duan <inspiremenow@murena.io>
    inspireMeNow committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    a5e9946 View commit details
    Browse the repository at this point in the history
  2. feat: add environment detection tests

    - Added environment detection tests to CMake configuration, setting ISA env flags based on the system architecture for Linux, Windows, Darwin, and Android.
    
    Signed-off-by: Kaiyao Duan <inspiremenow@murena.io>
    inspireMeNow committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    7ecc18e View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    69bcf8c View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. fix: replace C++ style headers and functions with C equivalents

    Signed-off-by: Kaiyao Duan <inspiremenow@murena.io>
    inspireMeNow committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    af11223 View commit details
    Browse the repository at this point in the history