Skip to content

Add Subgroup to the list of valid Memory Scopes for 2.1/2.2#80

Closed
kpet wants to merge 1 commit intoKhronosGroup:masterfrom
kpet:memory-scope-validation
Closed

Add Subgroup to the list of valid Memory Scopes for 2.1/2.2#80
kpet wants to merge 1 commit intoKhronosGroup:masterfrom
kpet:memory-scope-validation

Conversation

@kpet
Copy link
Copy Markdown
Contributor

@kpet kpet commented May 20, 2019

Signed-off-by: Kevin Petit kevin.petit@arm.com

@bashbaug
Copy link
Copy Markdown
Contributor

I think there is an issue here, but I wonder if this is the wrong fix.

For OpenCL 2.1 or newer, or any implementation supporting subgroups, couldn't Subgroup be a valid Scope for Memory? It would correspond to an atomic with memory_scope_sub_group.

@kpet
Copy link
Copy Markdown
Contributor Author

kpet commented May 21, 2019

Agree this is missing. I was planning to deal with all the subgroup-related issues later but this was probably a bad idea :). I'll repurpose this PR to add the missing Subgroup Scope and look into reorganising the rules and solving the other issues later instead.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
@kpet kpet force-pushed the memory-scope-validation branch from 8b161f3 to 7a1942e Compare May 21, 2019 08:51
@kpet kpet changed the title Move SPIR-V Memory Scope validation rules to the common section Add Subgroup to the list of valid Memory Scopes for 2.1/2.2 May 21, 2019
@bashbaug
Copy link
Copy Markdown
Contributor

look into reorganising the rules and solving the other issues later instead.

Heads up, I'm already about halfway through refactoring these parts of the environment spec already, for other reasons (see internal issue 156). I appreciate the help, but let's be sure we aren't duplicating work - thanks!

@kpet
Copy link
Copy Markdown
Contributor Author

kpet commented May 21, 2019

Right, hadn't caught up with it yet. I will pause work on the environment spec until you're done with that. Do you want to get this in or would you rather I close it?

@kpet
Copy link
Copy Markdown
Contributor Author

kpet commented Jun 5, 2019

This will be addressed by @bashbaug 's #84. Closing.

@kpet kpet closed this Jun 5, 2019
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