pytorch
48b6b922 - [BE] Make Vec256 header only library (#50708)

Commit
4 years ago
[BE] Make Vec256 header only library (#50708) Summary: Do it by removing extraneous header dependencies. None of the at::vec256 primitive depend on notion of Tensor, therefore none of the headers that vec256 depends on should include <ATen/Tensor.h> Implicity test it be removing c10 and tensor dependency when building `vec256_test_all_types` Split affine_quantizer into affine_quantizer_base (that contains methods operating on raw types) and affine_quantizer (which contains Tensor specific methods) Fixes https://github.com/pytorch/pytorch/issues/50567 Pull Request resolved: https://github.com/pytorch/pytorch/pull/50708 Reviewed By: walterddr Differential Revision: D25949168 Pulled By: malfet fbshipit-source-id: c3323be7252865a52c7d94026a5a39b494e44efb
Author
Parents
  • aten/src/ATen
    • cpu/vec256
      • File
        vec256_base.h
      • File
        vec256_qint.h
    • native
      • File
        Math.h
      • cpu
        • File
          RangeFactoriesKernel.cpp
      • quantized
        • File
          affine_quantizer.cpp
        • File
          affine_quantizer.h
        • File
          affine_quantizer_base.cpp
        • File
          affine_quantizer_base.h
        • cpu
          • File
            int_repr_quant.cpp
          • File
            make_per_tensor_quantized_tensor.cpp
  • caffe2
    • File
      CMakeLists.txt