Home / Function/ _aligned_suffix() — pytorch Function Reference

_aligned_suffix() — pytorch Function Reference

Architecture documentation for the _aligned_suffix() function in generate_kernels.py from the pytorch codebase.

Entity Profile

Dependency Diagram

graph TD
  e02adeaf_573b_9961_6c57_295a6e49a240["_aligned_suffix()"]
  4bd0f5d0_1c62_3457_cdda_b853ba40ae09["_aligned_suffix()"]
  4bd0f5d0_1c62_3457_cdda_b853ba40ae09 -->|calls| e02adeaf_573b_9961_6c57_295a6e49a240
  4bd0f5d0_1c62_3457_cdda_b853ba40ae09["_aligned_suffix()"]
  e02adeaf_573b_9961_6c57_295a6e49a240 -->|calls| 4bd0f5d0_1c62_3457_cdda_b853ba40ae09
  style e02adeaf_573b_9961_6c57_295a6e49a240 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

aten/src/ATen/native/transformers/cuda/mem_eff_attention/kernels/generate_kernels.py lines 178–179

    def _aligned_suffix(self) -> str:
        return "aligned" if self.aligned else "notaligned"

Subdomains

Called By

Frequently Asked Questions

What does _aligned_suffix() do?
_aligned_suffix() is a function in the pytorch codebase.
What does _aligned_suffix() call?
_aligned_suffix() calls 1 function(s): _aligned_suffix.
What calls _aligned_suffix()?
_aligned_suffix() is called by 1 function(s): _aligned_suffix.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free