[8/N] Fix Wextra-semi warning (#140697)

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/140697
Approved by: https://github.com/ezyang
This commit is contained in:
cyy
2024-11-14 23:08:00 +00:00
committed by PyTorch MergeBot
parent 05c3330893
commit e90888a93d

View File

@ -320,7 +320,7 @@ AT_DISPATCH_CASE(at::ScalarType::{dtype},
{dtype_cases_str}
);
}}
REGISTER_DISPATCH({stub_sig.name}, &{stub_sig.kernel_name});
REGISTER_DISPATCH({stub_sig.name}, &{stub_sig.kernel_name})
{sig.defn()} {{
{stub_sig.direct_call(sig.arguments())};
@ -547,5 +547,5 @@ namespace {{
{stub_sig.type_defn()};
{stub_sig.dispatch_decl()};
REGISTER_DISPATCH({stub_sig.name}, &{stub_sig.kernel_name});
REGISTER_DISPATCH({stub_sig.name}, &{stub_sig.kernel_name})
"""