aboutsummaryrefslogtreecommitdiff
path: root/src/mlia/backend/vela/__init__.py
blob: 68fbcba0b8ee26f848073257068fba40e4609568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# SPDX-FileCopyrightText: Copyright 2022-2023, Arm Limited and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
"""Vela backend module."""
from mlia.backend.config import BackendConfiguration
from mlia.backend.config import BackendType
from mlia.backend.config import System
from mlia.backend.registry import registry
from mlia.core.common import AdviceCategory

registry.register(
    "Vela",
    BackendConfiguration(
        supported_advice=[
            AdviceCategory.COMPATIBILITY,
            AdviceCategory.PERFORMANCE,
            AdviceCategory.OPTIMIZATION,
        ],
        supported_systems=[
            System.LINUX_AMD64,
            System.LINUX_AARCH64,
            System.WINDOWS_AMD64,
            System.WINDOWS_AARCH64,
        ],
        backend_type=BackendType.BUILTIN,
    ),
)