[code-reflection] Integrated: replaced common ffi-cuda code with ffi-shared

Gary Frost gfrost at openjdk.org
Wed Apr 9 14:26:14 UTC 2025


On Wed, 9 Apr 2025 14:20:24 GMT, Gary Frost <gfrost at openjdk.org> wrote:

> Replaced common code in ffi-cuda backend with common code in ffi-shared.
> 
> This finally aligns the codebase for ptx, cuda and opencl. 
> 
> Also acts as stable API to refactor HIP and SPIRV backends.
> 
> At this time CUDA backend can not minimize buffer copies (JVM crash).  So that will be investigated in the next PR.

This pull request has now been integrated.

Changeset: 314ecacf
Author:    Gary Frost <gfrost at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/314ecacf383c04809a87810929ac9bc038a9bca5
Stats:     336 lines in 6 files changed: 121 ins; 157 del; 58 mod

replaced common ffi-cuda code with ffi-shared

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

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


More information about the babylon-dev mailing list