Skip to content

Elemental code snippets written in Halide language.

License

Notifications You must be signed in to change notification settings

neoskypig/Halide-elements

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Halide-elements

Elemental code snippets written in Halide language.

Directory tree

.
├─ 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.

Build and test

Set the following environment variables.

  • HALIDE_ROOT : Path to the Halide root directory.
  • HALIDE_BUILD : Path to the Halide build directory.

Unit test

$ cd src/<Module>
$ make
$ ./<Module>_test

All test

$ ./testall

About

Elemental code snippets written in Halide language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.7%
  • C 2.7%
  • Makefile 2.4%
  • Shell 0.2%