Elemental code snippets written in Halide language.
.
├─ include # Header files including Halide Func libraries and utils for the tests.
└─ src # Test Modules
└─ <Module> # A module test directory.
├─ \<Module>_generator.cc # A Halide Generator definition for the module code.
└─ \<Module>_test.cc # Test code for the module.
Set the following environment variables.
HALIDE_ROOT
: Path to the Halide root directory.HALIDE_BUILD
: Path to the Halide build directory.
$ cd src/<Module>
$ make
$ ./<Module>_test
$ ./testall