Skip to content

[spirv] Extract common SPIR-V target functionalities out (NFC) - #3140

Merged
antiagainst merged 3 commits into
iree-org:mainfrom
antiagainst:spirv-common
Sep 15, 2020
Merged

antiagainst merged 3 commits into
iree-org:mainfrom
antiagainst:spirv-common

Conversation

@antiagainst

Copy link
Copy Markdown
Member

This commit just extracts some common SPIR-V target functionalities
into a new class so that later we can reuse them for a Metal-SPIRV
compiler target backend. It's pure refactoring plus removing
uncessary header includes and library dependencies, so NFC.

This commit just extracts some common SPIR-V target functionalities
into a new class so that later we can reuse them for a Metal-SPIRV
compiler target backend. It's pure refactoring plus removing
uncessary header includes and library dependencies, so NFC.
@google-cla google-cla Bot added the cla: yes label Sep 14, 2020
@antiagainst antiagainst added codegen/spirv SPIR-V code generation compiler backend hal/vulkan Runtime Vulkan GPU HAL backend hal/metal Runtime Apple Metal HAL backend labels Sep 14, 2020
@antiagainst

Copy link
Copy Markdown
Member Author

@MaheshRavishankar this conflicts with your existing patches a bit. I'm happy to wait yours to submit first.

@MaheshRavishankar

Copy link
Copy Markdown
Collaborator

do you mind holding off on this till PR #3095 lands. Touches a lot of the same parts and is just waiting on integrate to happen.

@antiagainst

Copy link
Copy Markdown
Member Author

Yeah certainly, as said in the above.

@antiagainst
antiagainst merged commit b7d5710 into iree-org:main Sep 15, 2020
@antiagainst
antiagainst deleted the spirv-common branch September 15, 2020 19:13
@ScottTodd ScottTodd mentioned this pull request Sep 16, 2020
copybara-service Bot pushed a commit that referenced this pull request Sep 16, 2020
* 903f809 Script to update to llvm syncpoint (#3155)
* a398c96 Translate VM Function to C Code (#2842)
* f941efb Multistage docker containers with RBE swiftshader support (#3065)
* b7d5710 [spirv] Extract common SPIR-V target functionalities out (NFC) (#3140)
* f5fe759 Use generated function to compute number of workgroups to be launched. (#3095)
* b89191c Merge google -> main (#3143)

COPYBARA_INTEGRATE_REVIEW=#3160 from ScottTodd:main-to-google 903f809
PiperOrigin-RevId: 331891580
ScottTodd added a commit that referenced this pull request Sep 16, 2020
* 903f809 Script to update to llvm syncpoint (#3155)
* a398c96 Translate VM Function to C Code (#2842)
* f941efb Multistage docker containers with RBE swiftshader support (#3065)
* b7d5710 [spirv] Extract common SPIR-V target functionalities out (NFC) (#3140)
* f5fe759 Use generated function to compute number of workgroups to be launched. (#3095)
* b89191c Merge google -> main (#3143)

COPYBARA_INTEGRATE_REVIEW=#3160 from ScottTodd:main-to-google 903f809
PiperOrigin-RevId: 331891580
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codegen/spirv SPIR-V code generation compiler backend hal/metal Runtime Apple Metal HAL backend hal/vulkan Runtime Vulkan GPU HAL backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants