Skip to content

build: Update C++ standard from c++17 to c++20 (#455) - #456

Merged
mc-nv merged 1 commit into
r26.09from
mchornyi/TRI-1877/cherry-pick-r26.09-std-20
Sep 11, 2026
Merged

build: Update C++ standard from c++17 to c++20 (#455)#456
mc-nv merged 1 commit into
r26.09from
mchornyi/TRI-1877/cherry-pick-r26.09-std-20

Conversation

@mc-nv

@mc-nv mc-nv commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick of the C++17->C++20 standard bump (TRI-1877) onto r26.09.

Upstream PyTorch raised ATen's minimum required C++ standard from 17
to 20 (pytorch/pytorch#178150), which broke the pytorch_backend build.
Align this repo's TRITON_MIN_CXX_STANDARD/CMAKE_CXX_STANDARD default
with that floor for consistency across the stack.

TRI-1877

(cherry picked from commit 26764b9)

Upstream PyTorch raised ATen's minimum required C++ standard from 17
to 20 (pytorch/pytorch#178150), which broke the pytorch_backend build.
Align this repo's TRITON_MIN_CXX_STANDARD/CMAKE_CXX_STANDARD default
with that floor for consistency across the stack.

TRI-1877

(cherry picked from commit 26764b9)
@mc-nv mc-nv added cherry-pick Cherry-picked from another branch build Build system or external dependencies (build: PRs) labels Sep 11, 2026
@greptile-apps

greptile-apps Bot commented Sep 11, 2026

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

The PR appears safe to merge with no actionable issues identified.

Summary

  • Changes the cached TRITON_MIN_CXX_STANDARD default from 17 to 20.
  • Consequently applies C++20 to the backend, stub, and GPU compilation paths that consume this setting.

Reviews (1) · Last reviewed commit: "build: Update C++ standard from c++17 to..."

@mc-nv
mc-nv requested a review from yinggeh September 11, 2026 03:38
@mc-nv mc-nv self-assigned this Sep 11, 2026
@mc-nv
mc-nv merged commit 9457646 into r26.09 Sep 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build system or external dependencies (build: PRs) cherry-pick Cherry-picked from another branch

Development

Successfully merging this pull request may close these issues.

2 participants