Skip to content

Commit 529062c

Browse files
PTXAS only has the bug prior to CUDA 12.8 / PTX v8.2
1 parent 5424a9d commit 529062c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Target/NVPTX/NVPTXSubtarget.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ class NVPTXSubtarget : public NVPTXGenSubtargetInfo {
9595
bool hasDotInstructions() const {
9696
return SmVersion >= 61 && PTXVersion >= 50;
9797
}
98-
bool hasPTXASUnreachableBug() const {
99-
return SmVersion < 70 && PTXVersion <= 74;
100-
}
98+
bool hasPTXASUnreachableBug() const { return PTXVersion <= 83; }
10199
bool hasCvtaParam() const { return SmVersion >= 70 && PTXVersion >= 77; }
102100
unsigned int getFullSmVersion() const { return FullSmVersion; }
103101
unsigned int getSmVersion() const { return getFullSmVersion() / 10; }

0 commit comments

Comments
 (0)