Skip to content

Commit 63fa6c8

Browse files
author
Rajalakshmi Srinivasaraghavan
committed
Fix build issue on POWER8 with DYNAMIC_ARCH
Running make DYNAMIC_ARCH=1 on POWER 8 BE with gcc10.2 version, gives the following error due to the difference in UNROLL_M/N. 'No rule to make target 'dgemm_incopy_POWER10.o', needed by kernel'
1 parent 074d9bf commit 63fa6c8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

param.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2443,8 +2443,13 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24432443

24442444
#define SGEMM_DEFAULT_UNROLL_M 16
24452445
#define SGEMM_DEFAULT_UNROLL_N 8
2446+
#if defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
2447+
#define DGEMM_DEFAULT_UNROLL_M 16
2448+
#define DGEMM_DEFAULT_UNROLL_N 4
2449+
#else
24462450
#define DGEMM_DEFAULT_UNROLL_M 8
24472451
#define DGEMM_DEFAULT_UNROLL_N 8
2452+
#endif
24482453
#define CGEMM_DEFAULT_UNROLL_M 8
24492454
#define CGEMM_DEFAULT_UNROLL_N 4
24502455
#define ZGEMM_DEFAULT_UNROLL_M 8

0 commit comments

Comments
 (0)