Skip to content

SPIR-V Environment Spec Refactor#84

Merged
alycm merged 4 commits intoKhronosGroup:masterfrom
bashbaug:spirv-env-refactor
Jun 14, 2019
Merged

SPIR-V Environment Spec Refactor#84
alycm merged 4 commits intoKhronosGroup:masterfrom
bashbaug:spirv-env-refactor

Conversation

@bashbaug
Copy link
Copy Markdown
Contributor

This change refactors the SPIR-V environment spec to increase readability, reduce duplicated information, and break the tight coupling between an OpenCL version and the SPIR-V version(s) it supports.

I've fixed a few bugs as well, see #80 and #81.

@bashbaug bashbaug added the SPIR-V Environment Spec Issues related to the OpenCL SPIR-V Environment specification. label May 28, 2019
@bashbaug bashbaug requested review from alycm and kpet May 28, 2019 21:30
Copy link
Copy Markdown
Contributor

@kpet kpet left a comment

Choose a reason for hiding this comment

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

We probably want to say explicitly that the Int64Atomics capability is required when cl_khr_int64_{base,extended}_atomics are present.

Otherwise looks generally good apart from a few typos. Thanks for doing this.

@bashbaug
Copy link
Copy Markdown
Contributor Author

bashbaug commented Jun 4, 2019

Thanks @kpet, I believe I've addressed all of your comments. Note, I've opened #88 regarding one part of the 64-bit atomics section, but I don't think that should hold up these changes.

@bashbaug bashbaug requested a review from kpet June 4, 2019 23:13
@kpet
Copy link
Copy Markdown
Contributor

kpet commented Jun 5, 2019

Thanks! Well-spotted.Yes, it shouldn't hold up this PR (commenting on the Int64Atomics capability was already a bit of a stretch).

Copy link
Copy Markdown
Contributor

@alycm alycm left a comment

Choose a reason for hiding this comment

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

I didn't see unintentional changes, and the built version seems easier to follow with less duplication than the previous approach.

@alycm alycm merged commit d1e8488 into KhronosGroup:master Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

SPIR-V Environment Spec Issues related to the OpenCL SPIR-V Environment specification.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants