pytorch/torchgen
Benjamin Glass 9873319a42 cpp_wrapper: fix set_.source_Tensor lowering (#145654)
Adds a C-shim fallback for `set_.source_Tensor`, which is effectively required by `ir.SetSourceTensorKernel`. As a necessary prerequisite to use that IR node, updates `CppWrapperCpu` to handle in-place returns in C-shim ops (the arguments for those returns are silently dropped by `torchgen`).

Pull Request resolved: https://github.com/pytorch/pytorch/pull/145654
Approved by: https://github.com/desertfire
ghstack dependencies: #145095
2025-02-04 22:05:59 +00:00
..
_autoheuristic
aoti cpp_wrapper: fix set_.source_Tensor lowering (#145654) 2025-02-04 22:05:59 +00:00
api Revert "Make functionalization ViewMeta serializable with pickle. (#143712)" 2025-01-17 00:52:50 +00:00
decompositions
dest
executorch
fuse
operator_versions
selective_build
shape_functions
static_runtime
__init__.py
BUCK.oss
BUILD.bazel
build.bzl
code_template.py
context.py
gen.py PEP585 update - benchmarks tools torchgen (#145101) 2025-01-18 05:05:07 +00:00
gen_aoti_c_shim.py cpp_wrapper/aot_inductor: handle conjugation and negation dispatch keys (#145095) 2025-02-04 22:05:58 +00:00
gen_backend_stubs.py
gen_executorch.py torchgen: support exception boundary for ExecuTorch functions (#144341) 2025-01-31 01:05:21 +00:00
gen_functionalization_type.py Revert "Make functionalization ViewMeta serializable with pickle. (#143712)" 2025-01-17 00:52:50 +00:00
gen_lazy_tensor.py
gen_schema_utils.py
gen_vmap_plumbing.py
local.py
model.py Work around buggy use_const_ref_for_mutable_tensors (#145530) 2025-01-24 14:38:49 +00:00
native_function_generation.py
utils.py
yaml_utils.py