Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aten/src/ATen/native/BatchLinearAlgebra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3080,7 +3080,7 @@ Tensor& linalg_eigvals_out(const Tensor& input, Tensor& values) {

// because MAGMA's GEEV takes CPU inputs and returns CPU outputs
// 'values' tensor that is on GPU device can't be used directly
values_tmp_needed |= values.is_cuda();
values_tmp_needed |= (!values.is_cpu());

// determine the appropriate scalar_type for the temporary tensors
ScalarType values_type = input.scalar_type();
Expand Down