mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/69216
This cleans up 4 pre-processor defines not used by any code:
- HAVE_GCC_GET_CPUID
- USE_GCC_GET_CPUID
- USE_AVX
- USE_AVX2
`cpuid` isn't used in PyTorch any more, we only use `cpuinfo`.
`USE_AVX*` is also not used, instead `HAVE_*_CPU_DEFINITIONS` tells
you which `CPU_CAPABILITY` flags are being compiled.
There is also `fbgemm`'s code path adding `third_party` as an include
path, despite `fbgemm` having a dedicated include directory and a
CMake setup that properly includes it.
Test Plan: Imported from OSS
Reviewed By: albanD
Differential Revision: D33794424
Pulled By: malfet
fbshipit-source-id: 99d504af088818d4a26c2f6ce67ec0d59a5eb703
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| benchmark@e991355c02 | ||
| breakpad@7d188f679d | ||
| cpuinfo@5916273f79 | ||
| cub@d106ddb991 | ||
| cudnn_frontend@51e60d891b | ||
| eigen@d41dc4dd74 | ||
| fbgemm@7588d9d804 | ||
| flatbuffers@697147a2e6 | ||
| fmt@cd4af11efc | ||
| foxi@c278588e34 | ||
| FP16@4dfe081cf6 | ||
| FXdiv@b408327ac2 | ||
| gemmlowp | ||
| gloo@c22a5cfba9 | ||
| googletest@e2239ee604 | ||
| ideep@82aac435b5 | ||
| ios-cmake@8abaed637d | ||
| kineto@b5bb62d25b | ||
| miniz-2.0.8 | ||
| nccl | ||
| neon2sse@97a126f08c | ||
| NNPACK@c07e3a0400 | ||
| onnx@85546f8c44 | ||
| onnx-tensorrt@c153211418 | ||
| pocketfft@ea778e3771 | ||
| protobuf@d1eca4e4b4 | ||
| psimd@072586a71b | ||
| pthreadpool@a134dd5d4c | ||
| pybind11@8de7772cc7 | ||
| python-enum@4cfedc426c | ||
| python-peachpy@07d8fde8ac | ||
| python-six@15e31431af | ||
| QNNPACK@7d2a4e9931 | ||
| sleef@e0a003ee83 | ||
| tbb@a51a90bc60 | ||
| tensorpipe@52791a2fd2 | ||
| valgrind-headers | ||
| XNNPACK@79cd5f9e18 | ||
| zstd@aec56a52fb | ||
| BUILD | ||
| build_bundled.py | ||
| cpuinfo.BUILD | ||
| cuda.BUILD | ||
| cudnn.BUILD | ||
| eigen.BUILD | ||
| fmt.BUILD | ||
| foxi.BUILD | ||
| gloo.BUILD | ||
| ideep.BUILD | ||
| LICENSES_BUNDLED.txt | ||
| mkl_headers.BUILD | ||
| mkl-dnn.BUILD | ||
| mkl.BUILD | ||
| onnx.BUILD | ||
| README.md | ||
| sleef.BUILD | ||
| sleef.bzl | ||
| substitution.bzl | ||
| tbb.BUILD | ||
| tbb.patch | ||
| tensorpipe.BUILD | ||
This folder contains vendored copies of third-party libraries that we use.