trunk/144ddcdbb75247abac3c9fb01776dd4df1828267: Use C++20 <bit> instead of c10::llvm bit helpers in c10 (#187002)
- PyTorch: 84 events in the last 90 days
- PyTorch: 84th Release in the last 90 days
- Previous: earlier the same day · trunk/132f4aeb055b4369d2415d7e546f12a3de20e09a
What happened
Description drafted with an AI assistant, quoted below; I've reviewed the change. Replaces the c10::llvm bit helpers with their C++20 equivalents in c10 and ATen. CachingHostAllocator.h and CUDACachingAllocator.cpp stay on the wrapper per review, since the functions only accept unsigned types. The one added include is include-what-you-use, not collateral: DispatchKeySet.cpp uses llvm::maskTrailingZeros / findFirstSe…
Summary assembled by rule from the sources below