Skip to content

Commit

Permalink
Merge pull request OpenMathLib#4604 from martin-frbg/zenprefsize
Browse files Browse the repository at this point in the history
Adjust SWITCH_RATIO for ZEN and apply GEMM_PREFERRED_SIZE
  • Loading branch information
martin-frbg authored Apr 4, 2024
2 parents ffedd8a + ba6d485 commit f5e5109
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion param.h
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,13 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#define SYMV_P 8

#define SWITCH_RATIO 16
#if defined(XDOUBLE) || defined(DOUBLE)
#define SWITCH_RATIO 4
#define GEMM_PREFERED_SIZE 4
#else
#define SWITCH_RATIO 8
#define GEMM_PREFERED_SIZE 8
#endif

#ifdef ARCH_X86

Expand Down

0 comments on commit f5e5109

Please sign in to comment.