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

Rename grid to groups #119

Merged
merged 4 commits into from
Mar 13, 2023
Merged

Conversation

habemus-papadum
Copy link
Contributor

@habemus-papadum habemus-papadum commented Mar 5, 2023

Prior to this PR, Metal.jl was using the term grid in a way that is inconsistent with Apple's terminology.

Things to consider adding to this PR

  • the Readme should have an example that uses the groups keyword?

Copy link
Member

@maleadt maleadt left a comment

Choose a reason for hiding this comment

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

LGTM. We should probably do this change as a two step process, as it is right now: break @metal grid first so that existing users upgrade, and afterwards introduce @metal grid again with the new semantics.

I prefer simply groups over threadgroups, but could be convinced otherwise if anybody feels strongly.

I'd also keep the README examples simple; it should demonstrate @metal groups, but let's keep the more complex examples for the documentation.

src/compiler/execution.jl Outdated Show resolved Hide resolved
src/compiler/execution.jl Outdated Show resolved Hide resolved
src/compiler/execution.jl Outdated Show resolved Hide resolved
@maleadt maleadt merged commit e828218 into JuliaGPU:main Mar 13, 2023
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.

None yet

3 participants