mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[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:
@ -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})
|
||||
"""
|
||||
|
Reference in New Issue
Block a user