Skip to content

Commit 35ff3c7

Browse files
authored
Merge pull request #3106 from RajalakshmiSR/ppcbe
Fix build issue on POWER8 with DYNAMIC_ARCH
2 parents 074d9bf + 63fa6c8 commit 35ff3c7

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)