Skip to content

Avoid allocations in one-dimensional dispatch - #30

Merged
antono3 merged 1 commit into
masterfrom
perf/allocation-free-enqueue
Sep 22, 2026
Merged

antono3 merged 1 commit into
masterfrom
perf/allocation-free-enqueue

Conversation

@antono3

@antono3 antono3 commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • make enqueue_1d_after call OpenCL directly with stack-local work sizes
  • remove the temporary global/local one-element slice allocations
  • retain the existing validation, event ownership, synchronization, and public signature
  • add pre-call validation coverage

Verification

  • full convenience suite passes with released V 0.5.2
  • vector-add runs with GCC and TinyCC
  • formatter and whitespace checks pass

@antono3
antono3 merged commit cedf444 into master Sep 22, 2026
7 checks passed
@antono3
antono3 deleted the perf/allocation-free-enqueue branch September 22, 2026 16:58
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