Skip to content

fix(exec): query the frame allocator from the receiver's environment - #2249

Merged
ericniebler merged 2 commits into
NVIDIA:mainfrom
SamGaaWaa:fix/function-frame-allocator
Sep 4, 2026
Merged

fix(exec): query the frame allocator from the receiver's environment#2249
ericniebler merged 2 commits into
NVIDIA:mainfrom
SamGaaWaa:fix/function-frame-allocator

Conversation

@SamGaaWaa

Copy link
Copy Markdown
Contributor

exec::function chose its frame allocator by calling __choose_frame_allocator with the receiver itself instead of the receiver's environment. Allocation always fell back to std::allocator.

exec::function chose its frame allocator by calling __choose_frame_allocator
with the *receiver* itself instead of the receiver's environment.
Allocation always fell back to std::allocator.
@copy-pr-bot

copy-pr-bot Bot commented Sep 3, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ericniebler ericniebler left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch! a couple of minor tweaks and this one is good.

Comment thread include/exec/function.hpp Outdated
Comment thread include/exec/function.hpp Outdated
Co-authored-by: Eric Niebler <eniebler@boost.org>
@ericniebler

Copy link
Copy Markdown
Collaborator

/ok to test cd5a8ba

@ericniebler
ericniebler merged commit 1b73ba4 into NVIDIA:main Sep 4, 2026
38 checks passed
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