[BE] [3/N] Use nested namespaces (#110314)

Mostly in torch/csrc/jit/runtime and in `ATen/cuda/`

Pull Request resolved: https://github.com/pytorch/pytorch/pull/110314
Approved by: https://github.com/seemethere
This commit is contained in:
Nikita Shulga
2023-09-30 02:23:45 +00:00
committed by PyTorch MergeBot
parent 8745d2d4f2
commit ad8aef0f98
151 changed files with 317 additions and 652 deletions

View File

@ -53,8 +53,7 @@ C10_DEFINE_bool(
false,
"If true, disable the memory overlap check in debug mode in ProcessedNode::run()");
namespace torch {
namespace jit {
namespace torch::jit {
namespace {
@ -2323,5 +2322,4 @@ const MemoryPlanner* StaticRuntime::get_memory_planner() const {
return block_->get_memory_planner();
}
} // namespace jit
} // namespace torch
} // namespace torch::jit