ports/math/atlas/files/patch-tune_sysinfo_L1CacheSize.c
Thierry Thomas dbbffaebd4 math/atlas: upgrade to 3.10.3
The development iof ATLAS seems stalled, but some people still use it:
upgrade it to the latest stable version, to support some more platforms.

Changelog available from
<https://sourceforge.net/projects/math-atlas/files/Stable/3.10.3/ChangeLog/download>.

Next step: resurrect atlas-devel and upgrade it to the latest "unstable
release", 3.11.41, dated 2018-10-05…
2022-12-15 17:22:25 +01:00

20 lines
449 B
C

--- tune/sysinfo/L1CacheSize.c.orig 2016-07-28 19:43:20 UTC
+++ tune/sysinfo/L1CacheSize.c
@@ -31,7 +31,7 @@
#include <stdio.h>
#include <stdlib.h>
-#define REPS 4096
+#define REPS 12288
#ifndef time00
#define time00 ATL_cputime
@@ -267,7 +267,7 @@ int main(int nargs, char *args[])
int main(int nargs, char *args[])
{
- int L1Size, MaxSize=64, correct=1;
+ int L1Size, MaxSize=256, correct=1;
FILE *L1f;
if (nargs > 2)