pytorch/torch/csrc/distributed/c10d/cuda
Richard Barnes 33a285379a [codemod] Remove unused-variable in caffe2/torch/csrc/distributed/c10d/cuda/AsyncMM.cu (#148501)
Summary:
LLVM-15 has a warning `-Wunused-variable` which we treat as an error because it's so often diagnostic of a code issue. Unused variables can compromise readability or, worse, performance.

This diff either (a) removes an unused variable and, possibly, it's associated code or (b) qualifies the variable with `[[maybe_unused]]`.

 - If you approve of this diff, please use the "Accept & Ship" button :-)

Test Plan: Sandcastle

Reviewed By: dtolnay

Pull Request resolved: https://github.com/pytorch/pytorch/pull/148501
Approved by: https://github.com/Skylion007
2025-03-07 00:33:39 +00:00
..
cutlass/gemm/kernel [AsyncMM] re-enable and adapt to cutlass 3.6.0 (#144011) 2025-01-31 00:48:51 +00:00
AsyncMM.cu [codemod] Remove unused-variable in caffe2/torch/csrc/distributed/c10d/cuda/AsyncMM.cu (#148501) 2025-03-07 00:33:39 +00:00
AsyncMM.cuh [experimental] async-tp impl with cutlass-based, progress aware kernel (#139227) 2024-11-08 23:28:25 +00:00
utils.cpp [c10d] Restrict use condition of NCCL mem pool (#147764) 2025-02-26 03:40:00 +00:00
utils.hpp [c10d] Restrict use condition of NCCL mem pool (#147764) 2025-02-26 03:40:00 +00:00