Skip to content

feat(operator): add ComputeContext::preallocated_output for ONNX Runtime 1.30 - #629

Merged
decahedron1 merged 1 commit into
pykeio:mainfrom
onuralpszr:kernel-preallocated-output
Sep 26, 2026
Merged

decahedron1 merged 1 commit into
pykeio:mainfrom
onuralpszr:kernel-preallocated-output

Conversation

@onuralpszr

Copy link
Copy Markdown
Contributor

Adds ComputeContext::preallocated_output, which wraps KernelContext_GetPreallocatedOutput so custom kernels can write straight into an output that was preallocated by the caller or by ONNX Runtime, with a test covering both a plain run and OutputSelector::preallocate.

@decahedron1
decahedron1 merged commit 6ab28bb into pykeio:main Sep 26, 2026
17 of 18 checks passed
@onuralpszr
onuralpszr deleted the kernel-preallocated-output branch September 26, 2026 10:52
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