[code-reflection] Integrated: Enabled MINIMIZE_COPIES for ffi-cuda backend

Gary Frost gfrost at openjdk.org
Thu Apr 10 15:15:11 UTC 2025


On Thu, 10 Apr 2025 15:10:32 GMT, Gary Frost <gfrost at openjdk.org> wrote:

> I enabled minimize copies mode for ffi-cuda.  Some apps seem to benefit (mandel and violajones). 
> 
> 
> Healing brush still an issue, it seems the driver backends do not like enqueuing copies (to or from device) on a thread different from the one where thee 'cuStream' was created (heal example is the only one that does this - as it creates backend in main thread but dispatches kernels in the swing thread). 
> 
> More investigation is needed.

This pull request has now been integrated.

Changeset: 6e2d0993
Author:    Gary Frost <gfrost at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/6e2d099326d9cd524e94f9b18c1d801ff679462b
Stats:     215 lines in 5 files changed: 129 ins; 77 del; 9 mod

Enabled MINIMIZE_COPIES for ffi-cuda backend

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

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


More information about the babylon-dev mailing list