[code-reflection] RFR: [hat][cuda] Add check errors for all CUDA calls

Juan Fumero duke at openjdk.org
Thu Jul 31 08:44:50 UTC 2025


On Thu, 31 Jul 2025 08:38:28 GMT, Juan Fumero <duke at openjdk.org> wrote:

> This PR just calls a new macro to insert an error check for all the CUDA calls. 
> The macro makes use of an existing struct. 
> 
> How to check:
> 
> 
> ./build/cuda_info

In fact, we can use the macro for all CUDA error checks, so the code base becomes more concise.

-------------

PR Comment: https://git.openjdk.org/babylon/pull/508#issuecomment-3139063585


More information about the babylon-dev mailing list