From: Mark Mendell Date: Thu, 22 Dec 2022 18:14:10 +0000 (-0800) Subject: [mlir][spirv] Add StreamingInterfaceINTEL to SPIRVBase.td X-Git-Tag: upstream/17.0.6~22821 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c03fe1ebbd8e45a8902b2b5484e203192f7b125c;p=platform%2Fupstream%2Fllvm.git [mlir][spirv] Add StreamingInterfaceINTEL to SPIRVBase.td StreamingInterfaceINTEL has been recently added to the SPIR-V headers: https://github.com/KhronosGroup/SPIRV-Headers/commit/70ff9d939cd7fd0c758756ac57ab0c7c6d6c64d6 Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D140476 --- diff --git a/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td b/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td index 795a398..7ca32d9 100644 --- a/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td +++ b/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td @@ -3098,6 +3098,11 @@ def SPIRV_EM_SchedulerTargetFmaxMhzINTEL : I32EnumAttrCase<"SchedulerTarget Capability<[SPIRV_C_FPGAKernelAttributesINTEL]> ]; } +def SPIRV_EM_StreamingInterfaceINTEL : I32EnumAttrCase<"StreamingInterfaceINTEL", 6154> { + list availability = [ + Capability<[SPIRV_C_FPGAKernelAttributesINTEL]> + ]; +} def SPIRV_EM_NamedBarrierCountINTEL : I32EnumAttrCase<"NamedBarrierCountINTEL", 6417> { list availability = [ Capability<[SPIRV_C_VectorComputeINTEL]> @@ -3135,7 +3140,8 @@ def SPIRV_ExecutionModeAttr : SPIRV_EM_FloatingPointModeALTINTEL, SPIRV_EM_FloatingPointModeIEEEINTEL, SPIRV_EM_MaxWorkgroupSizeINTEL, SPIRV_EM_MaxWorkDimINTEL, SPIRV_EM_NoGlobalOffsetINTEL, SPIRV_EM_NumSIMDWorkitemsINTEL, - SPIRV_EM_SchedulerTargetFmaxMhzINTEL, SPIRV_EM_NamedBarrierCountINTEL + SPIRV_EM_SchedulerTargetFmaxMhzINTEL, SPIRV_EM_StreamingInterfaceINTEL, + SPIRV_EM_NamedBarrierCountINTEL ]>; def SPIRV_EM_Vertex : I32EnumAttrCase<"Vertex", 0> {