Skip to content

Commit

Permalink
Add --iree-hal-target-device fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
archana-ramalingam committed Jan 6, 2025
1 parent 4849c76 commit 1a3c4cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sharktank/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ def pytest_addoption(parser):
)

parser.addoption(
"--iree-hal-target-backends",
"--iree-hal-target-device",
action="store",
help="Specify the iree-hal target backend (e.g., rocm)",
help="Specify the iree-hal target device (e.g., hip)",
)

parser.addoption(
Expand Down Expand Up @@ -354,8 +354,8 @@ def get_iree_flags(request: FixtureRequest):
model_path["iree_hip_target"] = set_fixture_from_cli_option(
request, "--iree-hip-target", "iree_hip_target"
)
model_path["iree_hal_target_backends"] = set_fixture_from_cli_option(
request, "--iree-hal-target-backends", "iree_hal_target_backends"
model_path["iree_hal_target_device"] = set_fixture_from_cli_option(
request, "--iree-hal-target-device", "iree_hal_target_device"
)


Expand Down

0 comments on commit 1a3c4cb

Please sign in to comment.