[code-reflection] Integrated: Hat mark buffers 1
Gary Frost
gfrost at openjdk.org
Fri Feb 14 15:41:20 UTC 2025
On Fri, 14 Feb 2025 15:33:15 GMT, Gary Frost <gfrost at openjdk.org> wrote:
> Ongoing work for moving towards buffer marking to reduce unnecessary copies.
>
> Here mostly infrastructural
>
> We moved buffer status data from the ArgSled to a trailing BufferState section at the end of each Buffer.
> The native buffers now are kept in this buffer state section along with marker bits (host dirty, gpu dirty)
> OpenCL + Mock + Spirv native backends now have event queues separated from the Kernel (in prep for the buffer to outlive the kernel dispatch)
> Changes tested on OpenCL (and Mock).
> CUDA Backends very likely broken. I will come back to those.
> HIP also. I need to work with AMD to sync the OpenCL changes to HIP backend.
>
> Buffers are still copied in and out on each dispatch.
This pull request has now been integrated.
Changeset: 14b3744a
Author: Gary Frost <gfrost at openjdk.org>
URL: https://git.openjdk.org/babylon/commit/14b3744ae151968fef69688f444c6e0fd47542d4
Stats: 503 lines in 14 files changed: 216 ins; 186 del; 101 mod
Hat mark buffers 1
-------------
PR: https://git.openjdk.org/babylon/pull/318
More information about the babylon-dev
mailing list