Skip to content

Commit f5e5109

Browse files
authored
Merge pull request #4604 from martin-frbg/zenprefsize
Adjust SWITCH_RATIO for ZEN and apply GEMM_PREFERRED_SIZE
2 parents ffedd8a + ba6d485 commit f5e5109

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

param.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,13 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
614614

615615
#define SYMV_P 8
616616

617-
#define SWITCH_RATIO 16
617+
#if defined(XDOUBLE) || defined(DOUBLE)
618+
#define SWITCH_RATIO 4
619+
#define GEMM_PREFERED_SIZE 4
620+
#else
621+
#define SWITCH_RATIO 8
622+
#define GEMM_PREFERED_SIZE 8
623+
#endif
618624

619625
#ifdef ARCH_X86
620626

0 commit comments

Comments
 (0)