Revert "cpp_wrapper: Move #includes to per-device header files (#143909)"

This reverts commit d62b3979dadfa4928ec1c76e850f874d49803125.

Reverted https://github.com/pytorch/pytorch/pull/143909 on behalf of https://github.com/kit1980 due to breaking internal builds because of removal of torch‎/_inductor‎/codegen‎/aoti_runtime‎/implementation.cpp‎ ([comment](https://github.com/pytorch/pytorch/pull/143909#issuecomment-2597188669))
This commit is contained in:
PyTorch MergeBot
2025-01-17 00:36:38 +00:00
parent 5e6e6200bf
commit 94c0f15302
25 changed files with 109 additions and 157 deletions

View File

@ -1284,7 +1284,6 @@ def main():
"include/torch/csrc/distributed/autograd/rpc_messages/*.h",
"include/torch/csrc/dynamo/*.h",
"include/torch/csrc/inductor/*.h",
"include/torch/csrc/inductor/aoti_include/*.h",
"include/torch/csrc/inductor/aoti_package/*.h",
"include/torch/csrc/inductor/aoti_runner/*.h",
"include/torch/csrc/inductor/aoti_runtime/*.h",
@ -1292,8 +1291,6 @@ def main():
"include/torch/csrc/inductor/aoti_torch/c/*.h",
"include/torch/csrc/inductor/aoti_torch/generated/*.h",
"include/torch/csrc/inductor/aoti_torch/generated/extend/*.h",
"include/torch/csrc/inductor/cpp_wrapper/*.h",
"include/torch/csrc/inductor/cpp_wrapper/device_internal/*.h",
"include/torch/csrc/jit/*.h",
"include/torch/csrc/jit/backends/*.h",
"include/torch/csrc/jit/generated/*.h",