Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ void SPIRVLLVMTranslator::restoreKernelAttributes(Module *Mod,
SPIRV::TranslatorOpts &SPIRVLLVMTranslator::translatorOpts() {
static auto Opts = []() -> SPIRV::TranslatorOpts {
// Options for translation between SPIR-V and LLVM IR.
// Set SPIRV-V 1.2 as the maximum version number for now.
SPIRV::TranslatorOpts TransOpt{SPIRV::VersionNumber::SPIRV_1_2};
// Set SPIRV-V 1.4 as the maximum version number for now.
SPIRV::TranslatorOpts TransOpt{SPIRV::VersionNumber::SPIRV_1_4};
// Enable attachment of kernel arg names as metadata.
TransOpt.enableGenArgNameMD();
// Enable mem2reg.
Expand Down