Skip to content

Commit

Permalink
Remove simple_compute_test docs, show running all tests on Bazel/Win.
Browse files Browse the repository at this point in the history
* `simple_compute_test` was deleted back with the VM2 migration
* Not all tests pass on Windows, but we expect most of the tree to build now.

Closes iree-org#925

COPYBARA_INTEGRATE_REVIEW=iree-org#925 from ScottTodd:outdated-docs 49e8c69
PiperOrigin-RevId: 298723742
  • Loading branch information
ScottTodd authored and copybara-github committed Mar 4, 2020
1 parent e060f09 commit e7ba8ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
20 changes: 5 additions & 15 deletions docs/getting_started_on_windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,23 +165,13 @@ git submodule update $IREE_CLONE_ARGS --recursive
### Build

```shell
# TODO: Add more things as they come online.
# Unit tests.
bazel test --config=windows //iree/compiler/...

# Sample computation on the interpreter.
bazel run --config=windows iree/tools/iree-run-mlir -- \
$(pwd)/iree/samples/hal/simple_compute_test.mlir \
--input_values="4xf32=1.0 2.0 3.0 4.0\n4xf32=2.0 4.0 6.0 8.0" \
--target_backends=interpreter-bytecode

# Sample computation via vulkan/spirv.
bazel run --config=windows iree/tools/iree-run-mlir -- \
$(pwd)/iree/samples/hal/simple_compute_test.mlir \
--input_values="4xf32=1.0 2.0 3.0 4.0\n4xf32=2.0 4.0 6.0 8.0" \
--target_backends=vulkan
# Run all core tests
bazel test -k --config=windows iree/...
```

In general, build artifacts will be under the `bazel-bin` directory at the top
level.

## Recommended user.bazelrc

You can put a user.bazelrc at the root of the repository and it will be ignored
Expand Down
4 changes: 1 addition & 3 deletions docs/vulkan_and_spirv.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ logging during the loader initialization. This is especially useful when trying
to verify expected paths are being searched for layers or driver JSON manifests.

The simplest test for ensuring that The Vulkan loader and IREE are correctly
configured together is //iree/hal/vulkan:dynamic_symbols_test. Once that works,
you should also be able to run //iree/samples/hal:simple_compute_test and see
the Vulkan HAL in action.
configured together is //iree/hal/vulkan:dynamic_symbols_test.

#### Enabling Validation Layers

Expand Down

0 comments on commit e7ba8ca

Please sign in to comment.