-
Notifications
You must be signed in to change notification settings - Fork 795
Closed
Labels
SPIR-VIssues related to SPIRV-LLVM-TranslatorIssues related to SPIRV-LLVM-TranslatorconfirmedenhancementNew feature or requestNew feature or request
Description
In specific cases, the compiler user may want to enable/disable certain or all SPIR-V extensions for the forwards SPIR-V translation. For example, whenever a third-party OpenCL Runtime is to be used under the hood of DPC++ RT, it can be necessary to pass --spirv-ext=-all
to the translator.
Possible driver solutions:
- A CLI option to disable all SPIR-V extensions (tailored to the exemplary use-case)
- A CLI option to pass a custom list of SPIR-V extensions for the translator command (with the same +/-, comma-separated syntax or as a configuration file of a sort)
- A CLI option to pass any set of additional options to the SPIR-V Translator
3 is the broadest option, and may also cover some of the future problems.
Metadata
Metadata
Assignees
Labels
SPIR-VIssues related to SPIRV-LLVM-TranslatorIssues related to SPIRV-LLVM-TranslatorconfirmedenhancementNew feature or requestNew feature or request