Skip to content

Commit e60c549

Browse files
authored
[SYCL][Fusion] Update SPIR-V version to 1.4 (#8358)
Signed-off-by: Sidorov, Dmitry <[email protected]>
1 parent 4bd0876 commit e60c549

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl-fusion/jit-compiler/lib/translation/SPIRVLLVMTranslation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ void SPIRVLLVMTranslator::restoreKernelAttributes(Module *Mod,
5959
SPIRV::TranslatorOpts &SPIRVLLVMTranslator::translatorOpts() {
6060
static auto Opts = []() -> SPIRV::TranslatorOpts {
6161
// Options for translation between SPIR-V and LLVM IR.
62-
// Set SPIRV-V 1.2 as the maximum version number for now.
63-
SPIRV::TranslatorOpts TransOpt{SPIRV::VersionNumber::SPIRV_1_2};
62+
// Set SPIRV-V 1.4 as the maximum version number for now.
63+
SPIRV::TranslatorOpts TransOpt{SPIRV::VersionNumber::SPIRV_1_4};
6464
// Enable attachment of kernel arg names as metadata.
6565
TransOpt.enableGenArgNameMD();
6666
// Enable mem2reg.

0 commit comments

Comments
 (0)