We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccd14a9 commit c10bebcCopy full SHA for c10bebc
third_party/intel/lib/TritonIntelGPUToLLVM/ElementwiseOpToLLVM.cpp
@@ -1043,6 +1043,14 @@ struct FpToFpOpConversion
1043
return outVals;
1044
}
1045
1046
+ if (srcElementType.isBF16() && dstElementType.isF32()) {
1047
+ SmallVector<Value> outVals;
1048
+ for (Value v : operands[0]) {
1049
+ outVals.push_back(intel::convertBf16ToFp32(loc, rewriter, v));
1050
+ }
1051
+ return outVals;
1052
1053
+
1054
bool useFP16IntermediateSrc = srcElementType.isF32();
1055
bool isDstFP32 = dstElementType.isF32();
1056
Type srcType = useFP16IntermediateSrc ? f16_ty : srcElementType;
0 commit comments