Replies: 2 comments
-
I'm looking into Halide::Pipeline... |
Beta Was this translation helpful? Give feedback.
0 replies
-
Take a look at lesson 15 in the tutorial. By default, a Halide pipeline will contain a copy of the Halide runtime unless the target includes
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm building a Halide pipeline and it is multistage.
But the multistage is achieved by creating multiple callable functions from a halide (for now multiple)compiled static lib.
So to make it as clear as possible about what I try to achieve:
I make a Halide accelerated function and compile to static.
I make a second Halide accelerated function and compile it to a second static lib.
But when i try to include and run both functions from the lib i run into 'multiple defined symbols found'.
This, i guess, is because halide compiles every func with the same stuff to a lib.
In my case resulting in 2 lib files and 2 headers and so causing the symbol issue because there is some kind of 'symbol overlap' in both libs.
My question is : can i compile multiple halide funcs to 1 static library? Thus avoiding the symbol issues.
Or is there a more conventional way to get what i want to achieve?
Another more practical example just in case it was not clear what i meant/want: Create a func that scales and another one that blurs, and another one that pimps or whatever.... compile all AOT (static lib.. the way to go?). And all can be called separately and in no particular order.
Thanks for any hint in the right direction.
Beta Was this translation helpful? Give feedback.
All reactions