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 a8bbe79 commit ac8d54cCopy full SHA for ac8d54c
mlir/include/mlir/Dialect/LLVMIR/NVVMTraits.h
@@ -49,10 +49,10 @@ struct NVVMCheckSMVersion {
49
bool isCompatible(const NVVMCheckSMVersion &targetSM) const {
50
if (exactMatch)
51
return (*this) == targetSM;
52
-
53
- return archAccelerated ?
54
- archVersion <= targetSM.archVersion && targetSM.archAccelerated :
55
- archVersion <= targetSM.archVersion;
+
+ return archAccelerated
+ ? archVersion <= targetSM.archVersion && targetSM.archAccelerated
+ : archVersion <= targetSM.archVersion;
56
}
57
58
bool operator==(const NVVMCheckSMVersion &other) const {
0 commit comments