[code-reflection] Integrated: We should be able to select platform/device via env var

Gary Frost gfrost at openjdk.org
Thu Mar 13 15:26:38 UTC 2025


On Thu, 13 Mar 2025 15:21:51 GMT, Gary Frost <gfrost at openjdk.org> wrote:

> We can request specific opencl platform and device
> 
> Default is platfom:0 device:0
> 
> We can pass via HAT env var
> 
> HAT=PLATFORM:0,DEVICE:0 java @bldr/hatrun ffi-opencl life

This pull request has now been integrated.

Changeset: f93580a0
Author:    Gary Frost <gfrost at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/f93580a0797179a39bc000f9ed56322e09d34185
Stats:     638 lines in 9 files changed: 227 ins; 373 del; 38 mod

We should be able to select platform/device via env var

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

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


More information about the babylon-dev mailing list