Return value of autogenerated Halide function #6241
-
When Halide Generator is used to auto-generate the C function object containing the halide function, can we always assume that the prototype of the function that is generated always has a return type as integer. I could not find anything related to this in Halide documentation pages. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Based on CodeGen_C
I would say 'yes'. |
Beta Was this translation helpful? Give feedback.
-
Yes, you can assume that. The error codes that can be returned by a Halide pipeline are listed here: |
Beta Was this translation helpful? Give feedback.
Based on CodeGen_C
I would say 'yes'.