Skip to content

build: Update C++ standard from c++17 to c++20 (#129) - #130

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 (#129)#130
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 af40652)

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 af40652)
@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 because it consistently updates every repository CMake entry point to the required C++20 baseline.

Summary

  • Updates the root backend utility and optional CUDA kernel build.
  • Updates the minimal, recommended, and BLS example backends.
  • Updates the single- and volume-batching strategy examples.
  • Refreshes copyright years to 2026.

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

@mc-nv mc-nv self-assigned this Sep 11, 2026
@mc-nv
mc-nv merged commit cb3b36a into r26.09 Sep 11, 2026
2 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