diff options
author | Rajalakshmi Srinivasaraghavan <rajis@linux.ibm.com> | 2021-02-11 21:28:03 -0600 |
---|---|---|
committer | Rajalakshmi Srinivasaraghavan <rajis@linux.ibm.com> | 2021-02-11 21:28:03 -0600 |
commit | 63fa6c832ea142ecac3c61e2ce542949ae8ccdcb (patch) | |
tree | 6e01128a491522ea89507c4f60197a503640c3df /param.h | |
parent | 074d9bff7f0c66b645cb02c7c82f4d65394d4836 (diff) | |
download | openblas-63fa6c832ea142ecac3c61e2ce542949ae8ccdcb.tar.gz openblas-63fa6c832ea142ecac3c61e2ce542949ae8ccdcb.tar.bz2 openblas-63fa6c832ea142ecac3c61e2ce542949ae8ccdcb.zip |
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'
Diffstat (limited to 'param.h')
-rw-r--r-- | param.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2443,8 +2443,13 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define SGEMM_DEFAULT_UNROLL_M 16 #define SGEMM_DEFAULT_UNROLL_N 8 +#if defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) +#define DGEMM_DEFAULT_UNROLL_M 16 +#define DGEMM_DEFAULT_UNROLL_N 4 +#else #define DGEMM_DEFAULT_UNROLL_M 8 #define DGEMM_DEFAULT_UNROLL_N 8 +#endif #define CGEMM_DEFAULT_UNROLL_M 8 #define CGEMM_DEFAULT_UNROLL_N 4 #define ZGEMM_DEFAULT_UNROLL_M 8 |