Skip to content

Commit 46e7499

Browse files
committed
xe: jit: gemm: fix corner cases in descriptor-based remainders
1 parent 599c839 commit 46e7499

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/gpu/intel/jit/gemm/generator/pieces/layout_utils.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright 2019-2024 Intel Corporation
2+
* Copyright 2019-2025 Intel Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -572,6 +572,8 @@ void assignUniformMask(vector<RegisterBlock> &layout, FlagRegister flag, int idx
572572
bool assignAllDescs(vector<RegisterBlock> &layout)
573573
{
574574
for (auto &block : layout) {
575+
if (!block.descRemR && !block.descRemC)
576+
continue;
575577
if (block.simdSize != layout[0].simdSize)
576578
return false;
577579
block.descAssigned = true;

0 commit comments

Comments
 (0)