diff --git a/torchgen/gen.py b/torchgen/gen.py index 788d7abc1562f..fd3db7bac7afe 100644 --- a/torchgen/gen.py +++ b/torchgen/gen.py @@ -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!