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

[TVMC] rename composite target "acl" #7508

Merged
merged 1 commit into from
Feb 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/tvm/driver/tvmc/composite_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# to be used in the PassContext (if any), and a function
# responsible for partitioning to that target.
REGISTERED_CODEGEN = {
"acl": {
"compute-library": {
"config_key": None,
"pass_pipeline": partition_for_arm_compute_lib,
},
Expand Down
4 changes: 2 additions & 2 deletions tests/python/driver/tvmc/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,10 @@ def test_parse_single_target_with_opts():


def test_parse_multiple_target():
targets = tvmc.common.parse_target("acl, llvm -device=arm_cpu --system-lib")
targets = tvmc.common.parse_target("compute-library, llvm -device=arm_cpu --system-lib")

assert len(targets) == 2
assert "acl" == targets[0]["name"]
assert "compute-library" == targets[0]["name"]
assert "llvm" == targets[1]["name"]


Expand Down
2 changes: 1 addition & 1 deletion tests/python/driver/tvmc/test_composite_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_get_codegen_names():


def test_valid_codegen():
codegen = tvmc.composite_target.get_codegen_by_target("acl")
codegen = tvmc.composite_target.get_codegen_by_target("compute-library")

assert codegen is not None
assert codegen["pass_pipeline"] is not None
Expand Down