Skip to content

Commit

Permalink
Compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuan14 committed Jul 21, 2024
1 parent d4d1160 commit 0e0b170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ATen/native/xpu/RangeFactories.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Tensor& XPUNativeFunctions::arange_out(
AT_DISPATCH_ALL_TYPES_AND2(
at::ScalarType::Half,
at::ScalarType::BFloat16,
result.scalar_type(),
out.scalar_type(),
"arange_xpu_preprocess",
[&]() {
using accscalar_t = at::acc_type<scalar_t, true>;
Expand Down

0 comments on commit 0e0b170

Please sign in to comment.