File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -507,7 +507,7 @@ struct ArgUseChecker : PtrUseVisitor<ArgUseChecker> {
507507 // Storing the pointer escapes it.
508508 if (U->get () == SI.getValueOperand ())
509509 return PI.setEscapedAndAborted (&SI);
510- // Writes to the pointer are UB w/ __gid_constant__ , but do not force a
510+ // Writes to the pointer are UB w/ __grid_constant__ , but do not force a
511511 // copy.
512512 if (!IsGridConstant)
513513 return PI.setAborted (&SI);
Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ class NVPTXSubtarget : public NVPTXGenSubtargetInfo {
9494 bool hasDotInstructions () const {
9595 return SmVersion >= 61 && PTXVersion >= 50 ;
9696 }
97- bool hasCvtaParam () const {
98- return SmVersion >= 70 && PTXVersion >= 77 ;
99- }
97+ bool hasCvtaParam () const { return SmVersion >= 70 && PTXVersion >= 77 ; }
10098 unsigned int getFullSmVersion () const { return FullSmVersion; }
10199 unsigned int getSmVersion () const { return getFullSmVersion () / 10 ; }
102100 // GPUs with "a" suffix have include architecture-accelerated features that
You can’t perform that action at this time.
0 commit comments