-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update pip package metadata * Link to the CMake package docs from Doxygen * Fix invalid Doxygen annotation in Serialization.h
- Loading branch information
1 parent
63609cc
commit 37300e3
Showing
4 changed files
with
77 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Halide is a programming language designed to make it easier to write | ||
high-performance image and array processing code on modern machines. Halide | ||
currently targets: | ||
|
||
- CPU architectures: X86, ARM, Hexagon, PowerPC, RISC-V | ||
- Operating systems: Linux, Windows, macOS, Android, iOS, Qualcomm QuRT | ||
- GPU Compute APIs: CUDA, OpenCL, Apple Metal, Microsoft Direct X 12, Vulkan | ||
|
||
Rather than being a standalone programming language, Halide is embedded in | ||
Python. This means you write Python code that builds an in-memory representation | ||
of a Halide pipeline using Halide's Python API. You can then compile this | ||
representation to an object file, or JIT-compile it and run it in the same | ||
process. | ||
|
||
## Using Halide from C++ | ||
Halide is also available as a C++ library. This package provides the development | ||
files necessary to use Halide from C++, including a CMake package. On Linux and | ||
macOS, CMake's `find_package` command should find Halide as long as you're in | ||
the same virtual environment you installed it in. On Windows, you will need to | ||
add the virtual environment root directory to `CMAKE_PREFIX_PATH`. This can be | ||
done by running `set CMAKE_PREFIX_PATH=%VIRTUAL_ENV%` in `cmd`. | ||
|
||
Other build systems can find the Halide root path by running `python -c | ||
"import halide; print(halide.install_dir())"`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters