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

Add docs on ownership #371

Merged
merged 7 commits into from
Oct 17, 2024
Merged

Add docs on ownership #371

merged 7 commits into from
Oct 17, 2024

Conversation

kainino0x
Copy link
Collaborator

@kainino0x kainino0x commented Oct 16, 2024

Also generate docs for function parameters.

I think these are the last of the docs for #143 and #326. I probably missed a few places that need ownership docs but this should be most of them.

Also generate docs for function parameters.
@kainino0x kainino0x requested a review from lokokung October 16, 2024 23:50
@kainino0x kainino0x enabled auto-merge (squash) October 16, 2024 23:54
@kainino0x kainino0x disabled auto-merge October 17, 2024 00:03
@kainino0x kainino0x enabled auto-merge (squash) October 17, 2024 00:05
Copy link
Collaborator

@lokokung lokokung left a comment

Choose a reason for hiding this comment

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

Overall seems good to me! I am wondering about whether the with and without ownership terminology is a bit confusing, but I'm not sure if I have a necessarily better proposal.

"description": "Ownership of the value",
"enum": [
"with",
"without"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Some bikeshedding... with and without feel a bit implicit? What if we used something more explicit like application vs api?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Whoops I shouldn't have enabled automerge. Was thinking of that too, but used "With" and "Without" to match the ownership article. Maybe with_ownership: boolean?

@kainino0x kainino0x merged commit ea0ac14 into webgpu-native:main Oct 17, 2024
4 checks passed
@kainino0x kainino0x deleted the ownership branch October 17, 2024 00:06
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