Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve default allocator wording #501

Merged
merged 2 commits into from
Dec 7, 2023

Conversation

mkinsner
Copy link

@mkinsner mkinsner commented Nov 22, 2023

The spec currently implies (by my reading) that the default allocator can never fail (even on e.g. memory exhaustion). So the spec makes a stronger guarantee than the named allocator requirement, which probably isn't implementable.

The modified wording weakens the guarantee to allow allocations to fail.

The spec currently implies (by my reading) that the default allocator can never fail (even on e.g. memory exhaustion).  So the spec makes  a stronger guarantee than the named allocator requirement, which probably isn't implementable.

The modified wording weakens the guarantee to allow for allocations to fail.
Copy link
Contributor

@gmlueck gmlueck left a comment

Choose a reason for hiding this comment

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

Changes look good, but the CI error says that you need to run reflow.

Copy link
Member

@keryell keryell left a comment

Choose a reason for hiding this comment

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

Thanks.

@gmlueck gmlueck merged commit 81e9a2f into SYCL-2020/master Dec 7, 2023
3 checks passed
keryell pushed a commit that referenced this pull request Sep 10, 2024
gmlueck added a commit that referenced this pull request Nov 7, 2024
Improve default allocator wording

(cherry picked from commit 81e9a2f)
gmlueck added a commit that referenced this pull request Nov 7, 2024
Improve default allocator wording

(cherry picked from commit 81e9a2f)
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.

4 participants