Skip to content

Commit 9d8249f

Browse files
irshadccetaf
authored andcommitted
Fix cuda blas build error due to extra && (#166811)
Fixes #166810 Pull Request resolved: #166811 Approved by: https://github.com/slayton58, https://github.com/Skylion007, https://github.com/malfet
1 parent b8eab8d commit 9d8249f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aten/src/ATen/native/cuda/Blas.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ static bool isInputCompliesAddmmCudaLt(Tensor& result, const Tensor& self, const
205205
// and the leading stride is at least max(1, other dim length), so we might
206206
// end up with contiguous cols but not rows (i.e. holes between different rows)
207207
// and vice versa.
208-
&& mat2_sizes[0] < 65535 * 32 && mat2_sizes[1] < 65535 * 32 &&
209-
mat1_sizes[0] < 65535 * 32 && mat1_sizes[1] < 65535 * 32 &&
208+
&& mat2_sizes[0] < 65535 * 32 && mat2_sizes[1] < 65535 * 32
209+
&& mat1_sizes[0] < 65535 * 32 && mat1_sizes[1] < 65535 * 32
210210
&& (
211211
// filter by dtype
212212
(scalar_type != at::ScalarType::Half && scalar_type != at::ScalarType::BFloat16) ||

0 commit comments

Comments
 (0)