[code-reflection] Integrated: Moved PTX backend functionality to CUDA backend

Gary Frost gfrost at openjdk.org
Sun Apr 6 11:38:25 UTC 2025


On Sun, 6 Apr 2025 11:33:49 GMT, Gary Frost <gfrost at openjdk.org> wrote:

> Moved the required PTX generation code into the more general CUDA backend.
> 
> We can select PTX generation either by sending a config string including 'PTX' to the backend (default will be Cuda C99)
> 
> We can also add PTX to HAT env var at launch
> 
> 
> HAT=INFO,PTX java @hat/run ffi-cuda squares
> 
> vs
> 
> HAT=INFO java @hat/run ffi-cude squares

This pull request has now been integrated.

Changeset: d8a08236
Author:    Gary Frost <gfrost at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/d8a082365bb65eed025a3c9518918369af454592
Stats:     1609 lines in 14 files changed: 1507 ins; 49 del; 53 mod

Moved PTX backend functionality to CUDA backend

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

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


More information about the babylon-dev mailing list