[BUILD] Change default build type (#945)
This commit is contained in:
@@ -1138,7 +1138,7 @@ private:
|
||||
std::function<void(int, int)>
|
||||
getLoadMatrixFn(Value tensor, const SharedMemoryObject &smemObj,
|
||||
MmaEncodingAttr mmaLayout, int wpt, uint32_t kOrder,
|
||||
ArrayRef<int> instrShape, ArrayRef<int> matShape,
|
||||
SmallVector<int> instrShape, SmallVector<int> matShape,
|
||||
Value warpId, ValueTable &vals, bool isA) const {
|
||||
auto tensorTy = tensor.getType().cast<RankedTensorType>();
|
||||
// We assumes that the input operand of Dot should be from shared layout.
|
||||
|
@@ -1875,9 +1875,9 @@ struct PrintfOpConversion
|
||||
|
||||
Value globalPtr =
|
||||
rewriter.create<LLVM::AddressOfOp>(UnknownLoc::get(context), global);
|
||||
Value stringStart =
|
||||
rewriter.create<LLVM::GEPOp>(UnknownLoc::get(context), int8Ptr,
|
||||
globalPtr, mlir::ValueRange({zero, zero}));
|
||||
Value stringStart = rewriter.create<LLVM::GEPOp>(
|
||||
UnknownLoc::get(context), int8Ptr, globalPtr,
|
||||
SmallVector<Value>({zero, zero}));
|
||||
|
||||
Value bufferPtr =
|
||||
rewriter.create<LLVM::NullOp>(UnknownLoc::get(context), int8Ptr);
|
||||
@@ -1912,7 +1912,7 @@ struct PrintfOpConversion
|
||||
int8Ptr, allocated);
|
||||
}
|
||||
|
||||
ValueRange operands{stringStart, bufferPtr};
|
||||
SmallVector<Value> operands{stringStart, bufferPtr};
|
||||
rewriter.create<LLVM::CallOp>(UnknownLoc::get(context), funcOp, operands);
|
||||
}
|
||||
};
|
||||
|
@@ -25,8 +25,8 @@ def get_build_type():
|
||||
elif check_env_flag("REL_WITH_DEB_INFO"):
|
||||
return "RelWithDebInfo"
|
||||
else:
|
||||
return "Debug"
|
||||
# TODO(Keren): Restore this before we merge into master
|
||||
return "RelWithDebInfo"
|
||||
# TODO: change to release when stable enough
|
||||
#return "Release"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user