diff options
author | Ben Ashbaugh <ben.ashbaugh@intel.com> | 2023-03-06 17:02:40 -0800 |
---|---|---|
committer | Ben Ashbaugh <ben.ashbaugh@intel.com> | 2023-03-06 17:02:40 -0800 |
commit | e65c5d143fd1fc7e4415889525a521db811946e6 (patch) | |
tree | 7f911e7c756a9d6757f613e97e4e014a3c8665b6 /include/spirv/unified1/spirv.hpp11 | |
parent | 295cf5fb3bfe2454360e82b26bae7fc0de699abe (diff) | |
download | SPIRV-Headers-e65c5d143fd1fc7e4415889525a521db811946e6.tar.gz SPIRV-Headers-e65c5d143fd1fc7e4415889525a521db811946e6.tar.bz2 SPIRV-Headers-e65c5d143fd1fc7e4415889525a521db811946e6.zip |
headers support for SPV_INTEL_bfloat16_conversion
Diffstat (limited to 'include/spirv/unified1/spirv.hpp11')
-rw-r--r-- | include/spirv/unified1/spirv.hpp11 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/spirv/unified1/spirv.hpp11 b/include/spirv/unified1/spirv.hpp11 index 9cebc8d..12236d0 100644 --- a/include/spirv/unified1/spirv.hpp11 +++ b/include/spirv/unified1/spirv.hpp11 @@ -1142,6 +1142,7 @@ enum class Capability : unsigned { OptNoneINTEL = 6094, AtomicFloat16AddEXT = 6095, DebugInfoModuleINTEL = 6114, + BFloat16ConversionINTEL = 6115, SplitBarrierINTEL = 6141, FPGAKernelAttributesv2INTEL = 6161, FPGAArgumentInterfacesINTEL = 6174, @@ -1946,6 +1947,8 @@ enum class Op : unsigned { OpTypeStructContinuedINTEL = 6090, OpConstantCompositeContinuedINTEL = 6091, OpSpecConstantCompositeContinuedINTEL = 6092, + OpConvertFToBF16INTEL = 6116, + OpConvertBF16ToFINTEL = 6117, OpControlBarrierArriveINTEL = 6142, OpControlBarrierWaitINTEL = 6143, OpGroupIMulKHR = 6401, @@ -2649,6 +2652,8 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { case Op::OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break; case Op::OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break; case Op::OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break; + case Op::OpConvertFToBF16INTEL: *hasResult = true; *hasResultType = true; break; + case Op::OpConvertBF16ToFINTEL: *hasResult = true; *hasResultType = true; break; case Op::OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break; case Op::OpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break; case Op::OpGroupIMulKHR: *hasResult = true; *hasResultType = true; break; |