[GPU] fix matmul smoke test fail on windows (#17545)
* fix matmul smoke test fail on windows * fix matmul smoke test fail on windows * fix matmul smoke test fail on windows
This commit is contained in:
parent
850d35eafa
commit
06490957ca
@ -180,8 +180,10 @@ static void CreateMatMulOp(Program& p, const std::shared_ptr<ngraph::op::v0::Mat
|
||||
auto canTransposeInputs = [] (const std::array<ngraph::PartialShape, 2>& shapes, bool transA, bool transB) -> bool {
|
||||
if (!transA && !transB)
|
||||
return false;
|
||||
if (shapes[0].rank().is_dynamic() ||
|
||||
shapes[1].rank().is_dynamic())
|
||||
|
||||
// dynamic shapes and 1D tensors are not transposed
|
||||
if (shapes[0].rank().is_dynamic() || shapes[1].rank().is_dynamic() ||
|
||||
shapes[0].size() < 2 || shapes[1].size() < 2)
|
||||
return false;
|
||||
|
||||
// don't transpose inputs if they're aligned to 16
|
||||
|
Loading…
Reference in New Issue
Block a user