Asynchronous Error Reporting: When printf Just Won’t Do

Originally published at: Asynchronous Error Reporting: When printf Just Won’t Do | NVIDIA Technical Blog

Some programming situations call for reporting “soft” errors asynchronously. While printf can be a useful tool, it can increase register use and impact performance. In this post, we present an alternative, including a header library for generating custom error and warning messages on the GPU without a hard stop to your kernel. Often error reporting…