[code-reflection] RFR: [hat][opencl] Check errors macro added
duke
duke at openjdk.org
Fri Aug 1 13:27:16 UTC 2025
On Fri, 1 Aug 2025 13:16:26 GMT, Juan Fumero <duke at openjdk.org> wrote:
> This PR adds a new macro for controlling OpenCL errors.
>
> Notes: At the moment, the macro exits the VM if an error is encountered. In long run, what we should do is to return a state to the Java side. Thus the Java/HAT runtime can control what to do with the exception.
>
> The state can be common for all backends, at least at a high-level. Then each backend can have its own list of error status.
@jjfumero
Your change (at version 5b67c75bc2df3f29242126a1b38de26e841ac362) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/babylon/pull/510#issuecomment-3144587457
More information about the babylon-dev
mailing list