mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/6357 Pull Request resolved: https://github.com/pytorch/pytorch/pull/138364 Approved by: https://github.com/Skylion007, https://github.com/eqy
This commit is contained in:
committed by
PyTorch MergeBot
parent
2f6a70bfea
commit
fddabc6e0b
@ -33,9 +33,9 @@ inline constexpr bool should_include_kernel_dtype(
|
||||
const char *kernel_tag_str,
|
||||
at::ScalarType scalar_type
|
||||
) {
|
||||
C10_UNUSED c10::string_view kernel_tag_sv = c10::string_view(kernel_tag_str);
|
||||
$body
|
||||
return false;
|
||||
[[maybe_unused]] c10::string_view kernel_tag_sv =
|
||||
c10::string_view(kernel_tag_str);
|
||||
$body return false;
|
||||
}
|
||||
}
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user