pytorch/torch/csrc/cuda/Tensor.cpp
Kurt Mohler 32cf6c6fb0 Remove THPTensor defs, override macros, and GenerateByteType.h (#82503)
### Description
These are old definitions and files that aren't used anymore.

### Issue
Fixes #82502

### Testing
N/A
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82503
Approved by: https://github.com/ezyang
2022-07-30 19:40:16 +00:00

17 lines
396 B
C++

#define __STDC_FORMAT_MACROS
// Order of these includes matters, which should be fixed.
// clang-format off
#include <torch/csrc/python_headers.h>
#include <structmember.h>
#include <stack>
#include <tuple>
#include <vector>
#include <torch/csrc/cuda/THCP.h>
#include <torch/csrc/utils/tensor_numpy.h>
#include <torch/csrc/copy_utils.h>
#include <torch/csrc/DynamicTypes.h>
// clang-format on