Halide icon indicating copy to clipboard operation
Halide copied to clipboard

The metal runtime swallows some errors

Open abadams opened this issue 2 years ago • 3 comments

The metal runtime discovers some classes of error via the command_buffer_completed_handler, but this doesn't surface the error to, e.g. the next halide_device_sync call.

abadams avatar Aug 18 '23 20:08 abadams

(Discovered in #7770)

abadams avatar Aug 18 '23 20:08 abadams

Some helpful info: https://stackoverflow.com/questions/17813870/how-does-a-block-capture-the-variables-outside-of-its-enclosing-scope

shoaibkamil avatar Aug 18 '23 20:08 shoaibkamil

This can cause schedules that produce incorrect output instead of throwing an error, so I'm adding the bug tag.

abadams avatar Oct 11 '23 18:10 abadams

Fixed by #8240

shoaibkamil avatar Jun 14 '24 18:06 shoaibkamil