Skip to content

Commit a4278e3

Browse files
malfetpobin6
authored andcommitted
[BE][EZ] Use nested namespaces (pytorch#140905)
Pull Request resolved: pytorch#140905 Approved by: https://github.com/Skylion007
1 parent 80ae3fb commit a4278e3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

aten/src/ATen/native/mps/operations/MultiTensorApply.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
#include <ATen/mps/MPSProfiler.h>
44
#include <ATen/native/mps/operations/FusedOptimizerOps.h>
55

6-
namespace at::native {
7-
namespace mps {
6+
namespace at::native::mps {
87

98
static constexpr int64_t kChunkSize = 65536;
109
static constexpr int64_t kmaxThreadGroups = 32;
@@ -340,5 +339,4 @@ static void multi_tensor_apply_for_fused_optimizer(
340339
});
341340
}
342341

343-
} // namespace mps
344-
} // namespace at::native
342+
} // namespace at::native::mps

0 commit comments

Comments
 (0)