summaryrefslogtreecommitdiff
path: root/param.h
diff options
context:
space:
mode:
authorkavanabhat <Kavana.bhat@in.ibm.com>2021-12-08 03:52:23 -0600
committerkavanabhat <Kavana.bhat@in.ibm.com>2021-12-08 03:52:23 -0600
commiteee3381cbecdd252177d53657ca964fd45a5f9b6 (patch)
tree4ecf08357ad413616da134787879a0c8979a7a40 /param.h
parent2ae73a2b3460df26518bf24c36d81d3766b4dc62 (diff)
downloadopenblas-eee3381cbecdd252177d53657ca964fd45a5f9b6.tar.gz
openblas-eee3381cbecdd252177d53657ca964fd45a5f9b6.tar.bz2
openblas-eee3381cbecdd252177d53657ca964fd45a5f9b6.zip
Fallback for Power kernels
Diffstat (limited to 'param.h')
-rw-r--r--param.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/param.h b/param.h
index c1dff1367..9632960b3 100644
--- a/param.h
+++ b/param.h
@@ -2598,8 +2598,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(HAVE_GAS) && (HAVE_GAS == 1)
+#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