-
Hello, I'm really interested in the "custom-kernel-fusion-rewriter" feature of XLA, I've read many relevant source code but I still have two questions:
I only find some code looks like patterns in Thank you very much for reading this!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The pass is described in custom_kernel_fusion_rewriter.h. Patterns to be matched by this pass are registered into the |
Beta Was this translation helpful? Give feedback.
The pass is described in custom_kernel_fusion_rewriter.h.
Patterns to be matched by this pass are registered into the
CustomKernelFusionPatternRegistry
using theXLA_REGISTER_CUSTOM_FUSION_PATTERN
macro (currently only in cutlass_gemm_fusion.cc), and the patterns are matched using functions like this.