pytorch/tools/codegen
Peter Bell 978490d7c7 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
2021-08-10 07:58:09 -07:00
..
api [reland] Refactor Tensor::to to call a primitive that is not copy_. (#62262) 2021-07-29 10:49:32 -07:00
dest Manually call lazyInitCUDA in structured CUDA calls (#61882) 2021-07-22 07:50:05 -07:00
selective_build
__init__.py
code_template.py
context.py avoid error string formatting aten codegen 28s -> 23s (#59848) 2021-06-12 06:58:31 -07:00
gen.py Codegen: Fix operator::name on windows (#62278) 2021-08-10 07:58:09 -07:00
gen_backend_stubs.py detect missing kernels from external backends in codegen (#60737) 2021-07-08 15:33:04 -07:00
local.py
model.py Add device and key for lazy tensors (#61621) 2021-07-26 23:00:22 -07:00
utils.py refactor yaml loader import, no runtime change (#59850) 2021-06-12 06:58:34 -07:00