3/11/2023 0 Comments Photo and video compiler for macThe following function defines and sets the schedule for a 3x3 box filter defined as a series of two 3x1 passes:īlur_x(x, y) = (input(x-1, y) + input(x, y) + input(x+1, y))/3 īlur_y(x, y) = (blur_x(x, y-1) + blur_x(x, y) + blur_x(x, y+1))/3 You can then compile this representation to an object file, or JIT-compile it and run it in the same process. This means you write C++ code that builds an in-memory representation of a Halide pipeline using Halide's C++ API. Rather than being a standalone programming language, Halide is embedded in C++. GPU Compute APIs: CUDA, OpenCL, OpenGL Compute Shaders, Apple Metal, Microsoft Direct X 12.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |