xref: /aosp_15_r20/external/pytorch/torch/csrc/cuda/Tensor.cpp (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1 #ifndef __STDC_FORMAT_MACROS
2 #define __STDC_FORMAT_MACROS
3 #endif
4 
5 // Order of these includes matters, which should be fixed.
6 // clang-format off
7 #include <torch/csrc/python_headers.h>
8 #include <structmember.h>
9 
10 #include <torch/csrc/cuda/THCP.h>
11 
12 #include <torch/csrc/utils/tensor_numpy.h>
13 #include <torch/csrc/copy_utils.h>
14 #include <torch/csrc/DynamicTypes.h>
15 // clang-format on
16