pytorch
a1e9a0cb - [Quant][core][refactorization] Refactored qconv_unpack.cpp into an implementation file and higher level call registration and definition file (#73773)

Commit
2 years ago
[Quant][core][refactorization] Refactored qconv_unpack.cpp into an implementation file and higher level call registration and definition file (#73773) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/73773 This refactorization was necessary with the introduction of packed parameters for cudnn. Specifically, the unpack function for the 3 backends: fbgemm, qnnpack, and cudnn, is called using dynamic polymorphism, which was previously done in the file (formerly) /quantized/cpu/qconv_unpack.cpp. This part of the file was moved to the parent directory /quantized/ as it is relevant for both CPU (fbgemm & qnnpack) & CUDA (cudnn in this case). The remaining content is implementation specific to CPU, and the file was subsequently renamed to qconv_unpack_impl.cpp Differential Revision: D34641680 D34641680 Test Plan: Imported from OSS Reviewed By: jerryzh168 Pulled By: dzdang fbshipit-source-id: 5522aaa6474d366d92905092c6726a99f8810f91 (cherry picked from commit 5ee42da0957aa6eb2e156b5fac24fee4c63a52c4)
Author
Committer
Parents
Loading