Skip to content
Discussion options

You must be logged in to vote

Actually i expected Halide generated c++ source file instead of obj / libs. So i can then include this c++ file to the project and can easily step into functions with the debugger in usual way. But unfortunately i didn't find the way how to produce c++ sources instead of object files.

Halide does have a C++ backend; however, you probably don't want to use it. Our standard CPU backends go through LLVM directly, which typically leads to better performance than we could get by generating C++ code. Basically the reason is that we have specialized information about Halide programs (e.g., bounds, pointer aliasing, vector instructions, etc.) that is simpler to communicate in the IR directly. T…

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@Honya2000
Comment options

Answer selected by abadams
Comment options

You must be logged in to vote
8 replies
@Honya2000
Comment options

@alexreinking
Comment options

@Honya2000
Comment options

@Honya2000
Comment options

@alexreinking
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #8850 on October 23, 2025 17:18.