Skip to content

Commit 2cfe262

Browse files
jianyizhCopilot
andauthored
Update src/ATen/native/xpu/sycl/AdaptiveAveragePooling2dKernels.cpp
Co-authored-by: Copilot <[email protected]>
1 parent bf6ec40 commit 2cfe262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ATen/native/xpu/sycl/AdaptiveAveragePooling2dKernels.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ void launch_adaptive_avg_pool2d_kernel_cl(const Tensor& input, Tensor& output) {
835835
numel);
836836
return;
837837
default:
838-
assert(0);
838+
assert(false && "Unsupported vector size in adaptive average pooling");
839839
}
840840
}
841841
#undef LAUNCH_AVGPOOL_CHANNEL_LAST_VEC

0 commit comments

Comments
 (0)