[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


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

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

Commit messages:
 - [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=00
  Stats: 47 lines in 3 files changed: 17 ins; 17 del; 13 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