pytorch/torch/_inductor/codegen
Jason Ansel 13f0436abd [inductor] Refactor op handlers part 2 (#146252)
This replaces the `__getattr__()` pattern used in (some) OpHandlers with a `DefaultHandler` class that has an implementation of every op that calls `self._default()`.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/146252
Approved by: https://github.com/yanboliang
ghstack dependencies: #146225, #146226, #146235
2025-02-04 23:36:01 +00:00
..
aoti_runtime cpp_wrapper: Move #includes to per-device header files (#145932) 2025-01-29 21:08:45 +00:00
cuda [cutlass backend] fix bug for accuminator dtype (#146356) 2025-02-04 22:10:17 +00:00
rocm [inductor] Add typing to common.CSE (#145993) 2025-02-04 16:05:39 +00:00
xpu [inductor] Add types to DeviceOpOverrides (#145913) 2025-02-01 16:33:49 +00:00
__init__.py
aoti_hipify_utils.py remove allow-untyped-defs from _inductor/codegen/aoti_hipify_utils.py (#143916) 2024-12-27 23:25:37 +00:00
block_analysis.py PEP585 update - torch/_inductor/codegen (#145106) 2025-01-18 06:56:03 +00:00
common.py [inductor] Refactor op handlers part 2 (#146252) 2025-02-04 23:36:01 +00:00
cpp_bmm_template.py [inductor][4/N] triton support post-#5512, fix constexpr signatures (#145583) 2025-01-29 05:46:05 +00:00
cpp_flex_attention_template.py [Inductor-CPU] Add profiling support for codegened flex attention kernels (#145894) 2025-01-29 20:54:46 +00:00
cpp_gemm_template.py [Inductor][CPU] Add auto-tuning support for da8w8 sym act sym wgt GEMM (#143187) 2025-01-22 02:27:53 +00:00
cpp_grouped_gemm_template.py [inductor] Finish typing common.py (#146225) 2025-02-04 23:35:33 +00:00
cpp_micro_gemm.py [CPUInductor] Fix SVE256 detection (#146207) 2025-02-01 18:51:34 +00:00
cpp_prefix.h Remove is_reduced_floating_point from namespace std (#144502) 2025-01-10 03:24:10 +00:00
cpp_template_kernel.py [inductor] Add typing to common.KernelArgs (#145916) 2025-02-04 16:05:39 +00:00
cpp_template.py PEP585 update - torch/_inductor/codegen (#145106) 2025-01-18 06:56:03 +00:00
cpp_utils.py cpp_wrapper: enable all CPU repro tests (#145655) 2025-02-04 22:05:59 +00:00
cpp_wrapper_cpu_array_ref.py cpp_wrapper: Move #includes to per-device header files (#145932) 2025-01-29 21:08:45 +00:00
cpp_wrapper_cpu.py cpp_wrapper: fix set_.source_Tensor lowering (#145654) 2025-02-04 22:05:59 +00:00
cpp_wrapper_gpu.py cpp_wrapper: Move #includes to per-device header files (#145932) 2025-01-29 21:08:45 +00:00
cpp.py [inductor] Refactor op handlers part 1 (#146235) 2025-02-04 23:35:53 +00:00
cpu_device_op_overrides.py [inductor] Add types to DeviceOpOverrides (#145913) 2025-02-01 16:33:49 +00:00
cuda_combined_scheduling.py [BE] Type annotate wrapper_benchmark.py and cuda_combined_scheduling.py (#145542) 2025-01-30 03:53:52 +00:00
debug_utils.py cpp_wrapper: Move #includes to per-device header files (#145932) 2025-01-29 21:08:45 +00:00
halide.py [inductor] Refactor op handlers part 1 (#146235) 2025-02-04 23:35:53 +00:00
memory_planning.py PEP585 update - torch/_inductor/codegen (#145106) 2025-01-18 06:56:03 +00:00
mps_device_op_overrides.py [inductor] Add types to DeviceOpOverrides (#145913) 2025-02-01 16:33:49 +00:00
mps.py [inductor] Refactor op handlers part 1 (#146235) 2025-02-04 23:35:53 +00:00
multi_kernel.py [inductor][4/N] triton support post-#5512, fix constexpr signatures (#145583) 2025-01-29 05:46:05 +00:00
simd_kernel_features.py [inductor] Kernel memory analysis for use in heuristics (#142026) 2025-01-25 04:58:54 +00:00
simd.py [inductor] Add typing to common.CSE (#145993) 2025-02-04 16:05:39 +00:00
triton_combo_kernel.py [inductor] Add typing to common.KernelArgs (#145916) 2025-02-04 16:05:39 +00:00
triton_split_scan.py [inductor] Add typing to common.CSE (#145993) 2025-02-04 16:05:39 +00:00
triton_utils.py [inductor][5/N] triton support post-#5512, fix 1 and None handling (#145515) 2025-02-01 02:11:48 +00:00
triton.py [inductor] Refactor op handlers part 1 (#146235) 2025-02-04 23:35:53 +00:00
wrapper.py [inductor][5/N] triton support post-#5512, fix 1 and None handling (#145515) 2025-02-01 02:11:48 +00:00