Skip to content

CopyBuff support#310

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

CopyBuff support#310
tinebp merged 2 commits intovortexgpgpu: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
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