News for hackers. Stuff that matters.
Re:Julia GPU by maleadt on Tuesday October 20, 2020 @05:03PM (#24842336)
You can emit `trap` or `exit` in the PTX code (although that has exposed many bugs in the PTX assembler because it does not expect that kind of often divergent control flow). But even if you'd just have the kernel return and otherwise produce invalid results, the fact that you can then report a bounds error instead of silently corrupting data and/or generating a fatal ERROR_ILLEGAL_ACCESS (requiring an application restart) is a significant usability improvement.

There are no comments on this comment yet.