pytorch
d0f6cf88 - Codegen: Fix operator::name on windows (#62278)

Commit
3 years ago
Codegen: Fix operator::name on windows (#62278) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/62278 In `Operators.h` we're using `str(BaseOperatorName)`, while in `OperatorsEverything.cpp` we're using `str(OperatorName)`. e.g. ``` STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::abs") ``` vs ``` STATIC_CONST_STR_OUT_OF_LINE_FOR_WIN_CUDA(abs_out, name, "aten::abs.out") ``` Test Plan: Imported from OSS Reviewed By: bdhirsh Differential Revision: D29962047 Pulled By: albanD fbshipit-source-id: 5a05b898fc734a4751c2b0187e4eeea4efb0502b
Author
Committer
Parents
Loading