mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/66746 Modified loops in files under fbsource/fbcode/caffe2/ from the format `for(TYPE var=x0;var<x_max;x++)` to the format `for(const auto var: irange(xmax))` This was achieved by running r-barnes's loop upgrader script (D28874212) with some modification to exclude all files under /torch/jit and a number of reversions or unused variable suppression warnings added by hand. Test Plan: Sandcastle Reviewed By: malfet Differential Revision: D31705361 fbshipit-source-id: 33fd22eb03086d114e2c98e56703e8ec84460268 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| allgather_ops.cc | ||
| allgather_ops.h | ||
| allreduce_ops_gpu.cc | ||
| allreduce_ops.cc | ||
| allreduce_ops.h | ||
| barrier_ops.cc | ||
| barrier_ops.h | ||
| broadcast_ops_gpu.cc | ||
| broadcast_ops.cc | ||
| broadcast_ops.h | ||
| CMakeLists.txt | ||
| common_world_ops_gpu.cc | ||
| common_world_ops.cc | ||
| common_world_ops.h | ||
| common.cc | ||
| common.h | ||
| context.cc | ||
| context.h | ||
| gloo_test.py | ||
| py_export.cc | ||
| reduce_scatter_ops.cc | ||
| reduce_scatter_ops.h | ||
| store_handler.cc | ||
| store_handler.h | ||