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

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


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.

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

Commit messages:
 - Enabled MINIMIZE_COPIES for ffi-cuda backend

Changes: https://git.openjdk.org/babylon/pull/392/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=392&range=00
  Stats: 215 lines in 5 files changed: 129 ins; 77 del; 9 mod
  Patch: https://git.openjdk.org/babylon/pull/392.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/392/head:pull/392

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


More information about the babylon-dev mailing list