Skip to content

Commit 4867154

Browse files
committed
Comment fix
1 parent 570a9ea commit 4867154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaDeclAttr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5678,7 +5678,7 @@ Sema::CreateLaunchBoundsAttr(const AttributeCommonInfo &CI, Expr *MaxThreads,
56785678
}
56795679

56805680
if (MaxBlocks) {
5681-
// Feature '.maxclusterrank' requires .target sm_90 or higher.
5681+
// '.maxclusterrank' ptx directive requires .target sm_90 or higher.
56825682
auto SM = getCudaArch(Context.getTargetInfo());
56835683
if (SM == CudaArch::UNKNOWN || SM < CudaArch::SM_90) {
56845684
Diag(MaxBlocks->getBeginLoc(), diag::warn_cuda_maxclusterrank_sm_90)

0 commit comments

Comments
 (0)