diff options
Diffstat (limited to '')
-rw-r--r-- | math/atlas-devel/files/thread-patch | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/math/atlas-devel/files/thread-patch b/math/atlas-devel/files/thread-patch index e07813c4fc30..5d6521809593 100644 --- a/math/atlas-devel/files/thread-patch +++ b/math/atlas-devel/files/thread-patch @@ -5,24 +5,7 @@ enum USERGEMM {UG_None=0, UG_GOTO}; -int XCOMP=0, THREADS=0, USEWINF77=0, NLINES=0, ISWIN=0; -+int XCOMP=0, THREADS=1, USEWINF77=0, NLINES=0, ISWIN=0; // force threading ++int XCOMP=0, THREADS=1, USEWINF77=0, NLINES=0, ISWIN=0; // force threading for single processor char TARGNAM[512]; enum MACHTYPE mach=MACHOther; -@@ -3515,7 +3515,6 @@ - } - i = ncpu; - if (!ncpu) ncpu = ProbeNCPU(OS, mach, targ, TOPdir); -- ncpu = 1; // force non-threading - if (ncpu != 1) /* user may want to thread */ - { - DisplayFile("CONFIG/pthread.txt", stdout, NLINES); -@@ -3155,7 +3154,7 @@ - } - if (USEWINF77) strcpy(F77, "$(BINdir)/winf77.exe"); - -- fpout = fopen("ARCHNAME-NON-THREADED", "w"); -+ fpout = fopen("ARCHNAME-THREADED", "w"); - fprintf(fpout, "%s", ARCH); - fclose(fpout); - ATL_mprintf(2, fplog, stdout,"\nCreating make include file Make.%s\n", ARCH); |