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

Juan Fumero duke at openjdk.org
Thu Jul 31 09:57:46 UTC 2025


> 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

Juan Fumero has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:

 - Merge branch 'code-reflection' into hat/cuda/check
 - [hat][cuda] Refactor to use the Macro for checking CUDA errors
 - [hat][cuda] Move CUDA Check Error macro to the CUDA Backend
 - [hat][cuda] Check errors for the missing CUDA calls

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

Changes: https://git.openjdk.org/babylon/pull/508/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=508&range=02
  Stats: 109 lines in 5 files changed: 18 ins; 56 del; 35 mod
  Patch: https://git.openjdk.org/babylon/pull/508.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/508/head:pull/508

PR: https://git.openjdk.org/babylon/pull/508


More information about the babylon-dev mailing list