← 返回事件
持续讨论AI发版

trunk/144ddcdbb75247abac3c9fb01776dd4df1828267: Use C++20 <bit> instead of c10::llvm bit helpers in c10 (#187002)

发生了什么

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…

摘要按规则整理自下方来源原文

为什么在扩散

来源