[code-reflection] Integrated: [hat][opencl] Check errors macro added
Juan Fumero
duke at openjdk.org
Fri Aug 1 15:26:14 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.
This pull request has now been integrated.
Changeset: 9e465bb6
Author: Juan Fumero <jjfumero at gmail.com>
Committer: Gary Frost <gfrost at openjdk.org>
URL: https://git.openjdk.org/babylon/commit/9e465bb60c51e379fa211b1e92dc1d904239a7b2
Stats: 282 lines in 8 files changed: 36 ins; 58 del; 188 mod
[hat][opencl] Check errors macro added
-------------
PR: https://git.openjdk.org/babylon/pull/510
More information about the babylon-dev
mailing list