Skip to content

CopyBuff support#310

Merged
tinebp merged 2 commits into
vortexgpgpu:masterfrom
talubik:talubik/copybuf
Apr 21, 2026
Merged

CopyBuff support#310
tinebp merged 2 commits into
vortexgpgpu:masterfrom
talubik:talubik/copybuf

Conversation

@talubik
Copy link
Copy Markdown
Contributor

@talubik talubik commented Dec 12, 2025

Hello. When I tried to run programs that use buffer copy operations, I found that support for these operations was missing. This Pull Request adds the necessary support.
It is designed to work together with the related PR in PoCL for Vortex.
I also added a test, which successfully passed in my CI.

- RAM::copy: swap forward/backward loops so overlapping copies don't
  overwrite source bytes before reading them (memmove semantics)
- copy_dev_to_dev callback: reject when source and destination buffers
  belong to different devices

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@tinebp tinebp merged commit 4aef17f into vortexgpgpu:master Apr 21, 2026
tinebp added a commit that referenced this pull request May 6, 2026
Append §10 (Outcomes) capturing what actually happened during
execution on 2026-05-03:
  - the 'keep ours unless theirs is a bug fix' rule and where it
    overrode the original §4 plan
  - per-PR disposition deltas (especially #298 not adopted, #320
    arith wire-up, #310 OpenCL copybuf gated, #327 already absorbed)
  - known issues (pocl copybuf crash, MPI gating, intentional SST
    absence)
  - outstanding deferred work (9b5e664, a537f2a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants