pytorch/torch/csrc/cuda/python_comm.h
Nikita Shulga dfd441a12c [BE] Use nested namespaces in torch/csrc/cuda (#106928)
<!--
copilot:poem
-->
### <samp>🤖 Generated by Copilot at 6b1dde1</samp>

> _`namespace` syntax_
> _Simplified with C++17_
> _Code is more readable_

Pull Request resolved: https://github.com/pytorch/pytorch/pull/106928
Approved by: https://github.com/huydhn, https://github.com/izaitsevfb
2023-08-10 03:56:09 +00:00

8 lines
123 B
C++

#pragma once
namespace torch::cuda::python {
void initCommMethods(PyObject* module);
} // namespace torch::cuda::python