Variation on Gradiant lesson produces Halide::CompileError #8636
crmartin781
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have adapted lesson_02 from the tutorials, which defines a gradiant Func with an int32_t buffer, and verifies it with C code.
My variation is as follows (comes from lesson_02, but packaged in a function)
`
Buffer<uint16_t> gradient_image(uint16_t width, uint16_t height)
{
Buffer<uint16_t> im1 = Runtime::Buffer<uint16_t>(width, height);
}
`
My questions:
1 - why would it throw here?
2 - how do I debug this exception?
Thanks, Charles.
Beta Was this translation helpful? Give feedback.
All reactions