This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
OSchip
/
OpenBLAS
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
66
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Added NO_PARALLEL_MAKE flag to disable parallel make.
tags/v0.2.7
Zhang Xianyi
12 years ago
parent
3ad29452d1
commit
48bdc1ad3b
3 changed files
with
11 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
Makefile.rule
+4
-0
Makefile.system
+4
-0
getarch.c
+ 3
- 0
Makefile.rule
View File
@@ -81,6 +81,9 @@ VERSION = 0.2.6
# and OS. However, the performance is low.
# NO_AVX = 1
# Don't use parallel make.
# NO_PARALLEL_MAKE = 1
# If you would like to know minute performance report of GotoBLAS.
# FUNCTION_PROFILE = 1
+ 4
- 0
Makefile.system
View File
@@ -65,6 +65,10 @@ ifeq ($(DEBUG), 1)
GETARCH_FLAGS += -g
endif
ifndef NO_PARALLEL_MAKE
NO_PARALLEL_MAKE=0
endif
GETARCH_FLAGS += -DNO_PARALLEL_MAKE=$(NO_PARALLEL_MAKE)
# This operation is expensive, so execution should be once.
ifndef GOTOBLAS_MAKEFILE
export GOTOBLAS_MAKEFILE = 1
+ 4
- 0
getarch.c
View File
@@ -804,8 +804,12 @@ int main(int argc, char *argv[]){
#endif
#endif
#if NO_PARALLEL_MAKE==1
printf("MAKE += -j 1\n");
#else
#ifndef OS_WINDOWS
printf("MAKE += -j %d\n", get_num_cores());
#endif
#endif
break;
Write
Preview
Loading…
Cancel
Save