fix layout bug (#1006)
This commit is contained in:
parent
146d314057
commit
8e85580859
@ -128,7 +128,7 @@ class KernelsForDataType:
|
|||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
# Determine the leading dimension of the shape
|
# Determine the leading dimension of the shape
|
||||||
if layout == cutlass.LayoutType.RowMajor:
|
if layout == cutlass.LayoutType.ColumnMajor:
|
||||||
ld = shape[0]
|
ld = shape[0]
|
||||||
elif layout == cutlass.LayoutType.RowMajor:
|
elif layout == cutlass.LayoutType.RowMajor:
|
||||||
ld = shape[1]
|
ld = shape[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user