Closed phengxu closed 1 week ago
When using a generator, don't write your own int main
. I think yours is doing things in the wrong sequence (I get a different error when I try to repro using your code). Instead just compile the generator against GenGen.cpp. See apps/local_laplacian for an example of how a Halide generator should be structured, or see the generators tutorial at https://halide-lang.org/tutorials/tutorial_lesson_15_generators.html
Thank you very much, I read the tutorial and these tutorial are greate and very helpful to me, but after update my code by the tutorial guid, I still encounter errors that is confused and very hard to me to figure out what wrong with my code, and I open a new issue at this link:https://github.com/halide/Halide/issues/8300Please Help me! Thanks.
After build my generator of halide, and then run in command and found internal error like:
I install halide version 17.0.1 by vcpkg on windows 11 and use Aot compile mode for an isp processor, the halide code is about looks below code snippet:
Is there any expert who can kindly give me some hints? what I trying do is transfer old version of halide to new version for this code base https://github.com/facebookarchive/Surround360/blob/master/surround360_render/source/camera_isp/CameraIspGen.cpp