Skip to content

Commit

Permalink
[torchgen] Bump native function max namespace levels due for internal…
Browse files Browse the repository at this point in the history
… use case (pytorch#97381)

Summary: As titled. Should be trivial

Test Plan: Rely on unit test

Differential Revision: D44314834

Pull Request resolved: pytorch#97381
Approved by: https://github.com/cccclai
  • Loading branch information
larryliu0820 authored and pytorchmergebot committed Mar 23, 2023
1 parent 13ca084 commit a524123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgen/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1452,7 +1452,7 @@ def get_native_function_declarations(
ns_helper = NamespaceHelper(
namespace_str=namespace,
entity_name="",
max_level=3,
max_level=4,
)
# Convert to a set first to remove duplicate kernel names. Backends are
# allowed to repeat kernel names; only generate the declaration once!
Expand Down

0 comments on commit a524123

Please sign in to comment.