Home / Function/ inductor_scatter_add() — pytorch Function Reference

inductor_scatter_add() — pytorch Function Reference

Architecture documentation for the inductor_scatter_add() function in inductor_cpu_atomic.py from the pytorch codebase.

Entity Profile

Dependency Diagram

graph TD
  8ec02f26_c724_1f4d_66f2_3579ef8b7f89["inductor_scatter_add()"]
  aba84ade_afa4_11e1_7f1a_d64880227dd0["test_total_time()"]
  aba84ade_afa4_11e1_7f1a_d64880227dd0 -->|calls| 8ec02f26_c724_1f4d_66f2_3579ef8b7f89
  style 8ec02f26_c724_1f4d_66f2_3579ef8b7f89 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmarks/dynamo/microbenchmarks/inductor_cpu_atomic.py lines 10–11

def inductor_scatter_add(dst, src, index):
    return torch.scatter_add(dst, 1, index, src)

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free