Skip to content

Commit 23ab937

Browse files
author
BalintCsala
committed
Fix CI
1 parent c1a2397 commit 23ab937

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

projects/miopen/src/gemm_v2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1749,7 +1749,7 @@ GemmDescriptor CreateGemmDescriptorConvFwd(const conv::ProblemDescription& probl
17491749
yDesc.GetLengths() | std::views::drop(2) | std::views::take(yDesc.GetLengths().size() - 2);
17501750

17511751
bool isColMajor = problem.IsLayoutNHWC();
1752-
bool transA = problem.IsLayoutNHWC();
1752+
bool transA = isColMajor;
17531753
bool transB = problem.IsLayoutNHWC() ? false : (wDesc.GetType() == miopenInt8);
17541754
int m = wei_k;
17551755
int n = static_cast<int>(std::accumulate(
@@ -2193,7 +2193,7 @@ GemmDescriptor CreateGemmDescriptorGroupConvFwd(const conv::ProblemDescription&
21932193
yDesc.GetLengths() | std::views::drop(2) | std::views::take(yDesc.GetLengths().size() - 2);
21942194

21952195
bool isColMajor = problem.IsLayoutNHWC();
2196-
bool transA = problem.IsLayoutNHWC();
2196+
bool transA = isColMajor;
21972197
bool transB = false;
21982198
int m = wei_k / groupCount;
21992199
int n = static_cast<int>(std::accumulate(

projects/miopen/src/include/miopen/util.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ float Col2ImGPU(const Handle& handle,
4343
std::size_t im_offset,
4444
miopenDataType_t type,
4545
bool layoutNHWC,
46-
const int num_groups);
46+
int num_groups);
4747

4848
float Col2Im3dGPUBatched(const Handle& handle,
4949
ConstData_t col,

0 commit comments

Comments
 (0)