Skip to content

Commit

Permalink
Rename config_cpu to config_cpu_llvm_sync matching IREE.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd committed Mar 1, 2024
1 parent 7fd1017 commit 80224a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions iree_tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Tests are run using the [pytest](https://docs.pytest.org/en/stable/) framework.
A [`conftest.py`](conftest.py) file collects test cases from subdirectories,
wrapping each directory matching the format described above to one test case
per test configuration. Test configurations are defined in JSON config files
like [`configs/config_cpu.json`](./configs/config_cpu.json).
like [`configs/config_cpu_llvm_sync.json`](./configs/config_cpu_llvm_sync.json).

### Common venv setup with deps

Expand Down Expand Up @@ -89,7 +89,7 @@ $ pytest iree_tests -n auto
Run tests using custom config files:

```bash
$ export IREE_TEST_CONFIG_FILES=/iree/config_cpu.json;/iree/config_gpu.json
$ export IREE_TEST_CONFIG_FILES=/iree/config_cpu_llvm_sync.json;/iree/config_gpu_vulkan.json
$ pytest iree_tests
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"config_name": "cpu",
"config_name": "cpu_llvm_sync",
"iree_compile_flags" : [
"--iree-hal-target-backends=llvm-cpu"
],
"iree_run_module_flags": [
"--device=local-task"
"--device=local-sync"
],
"skip_compile_tests": [],
"skip_run_tests": [],
Expand Down
2 changes: 1 addition & 1 deletion iree_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def __init__(
THIS_DIR = Path(__file__).parent
REPO_ROOT = THIS_DIR.parent
_iree_test_config_files = [
REPO_ROOT / "iree_tests/configs/config_cpu.json",
REPO_ROOT / "iree_tests/configs/config_cpu_llvm_sync.json",
# REPO_ROOT / "iree_tests/configs/config_gpu_vulkan.json",
]

Expand Down

0 comments on commit 80224a6

Please sign in to comment.