Added medium syndication metadata

This commit is contained in:
Brandon Rozek 2023-02-18 13:12:02 -05:00
parent 79329aae66
commit 387dd491b1
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480
30 changed files with 175 additions and 134 deletions

View file

@ -1,10 +1,11 @@
---
title: "Finding Cuda Errors"
date: 2022-03-08T10:53:43-05:00
date: 2022-03-08 10:53:43-05:00
draft: false
tags: []
math: false
medium_enabled: true
medium_post_id: a07f460ce553
tags: []
title: Finding Cuda Errors
---
When cuda fails, it fails silently. To combat this, I have gotten into a habit of checking for a failed status for every cuda memory allocation, kernel execution etc. The following is a C++ macro I wrote that checks if a previous cuda call has failed and then prints the current line and file of the macro.