Skip to content

Commit

Permalink
docs(Halide): update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zpye committed Jun 5, 2023
1 parent 22923b5 commit f034433
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,19 @@ pip install build/python/
python test/test_python/test_model.py
```

## (Experimental) Halide Programming

Note: Only upsample nearest layer has an implementation of Halide.

1. Set environment `HALIDE_ROOT` for Halide installation path, using release packages from [https://github.com/halide/Halide/releases](https://github.com/halide/Halide/releases) is a good choice.

2. Set `--halide=true` after `xmake config` and build:

```shell
xmake config -a x64 -m release --halide=true
xmake -w --all
```

## Reference

[KuiperInfer](https://github.com/zjhellofss/KuiperInfer) -> basic framework
Expand All @@ -75,4 +88,6 @@ python test/test_python/test_model.py

[stb](https://github.com/nothings/stb) -> image loader and image writer

[Halide](https://github.com/halide/Halide) -> Halide programming

[tmp](https://github.com/zjhellofss/tmp) -> pnnx models

0 comments on commit f034433

Please sign in to comment.