-
Notifications
You must be signed in to change notification settings - Fork 28k
C++20 Rollout Tracking #176662
Copy link
Copy link
Open
Labels
module: cppRelated to C++ APIRelated to C++ APItopic: improvementstopic categorytopic categorytriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Metadata
Metadata
Assignees
Labels
module: cppRelated to C++ APIRelated to C++ APItopic: improvementstopic categorytopic categorytriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Type
Fields
Give feedbackNo fields configured for issues without a type.
Most Meta-internal blockers to the PyTorch C++20 migration have been eliminated and we've begun a staged migration onto C++20. Details to follow.
cc @jbschlosser
@r-barnes These were the main topics I could think of that I feel can be adopted without disruptions.
ranges,modulesetc are big ticket items that I don't feel comfortable recommending at the moment.Move away from compiler extensions
##__VA_ARGS__with__VA_OPT__(, ) __VA_ARGS__[[likely]],[[unlikely]]for branch prediction hintsstd::assume_aligned<N>(ptr)to replace__builtin_assume_aligned<bit>header for bitwise operations: clang-tidy checkerMove away from custom implementations of common utilities
c10::SourceLocation,__FILE__,__LINE__proposed clang-tidy checkerstd::midpoint,std::lerpstd::ssiz…