changeset 1602:e33e106ca3e0 draft

change default make parallel from fifo
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Sat, 06 Apr 2013 17:27:30 +0900
parents 4ad9b94141b5
children 44ff9443cc1c
files TaskManager/Makefile example/multiply/Func.h example/multiply/ppe/Multi.cc
diffstat 3 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/Makefile	Thu Apr 04 17:26:33 2013 +0900
+++ b/TaskManager/Makefile	Sat Apr 06 17:27:30 2013 +0900
@@ -4,7 +4,7 @@
 TAGSOPTION = 
 TAGSFILE   = GPATH GRTAGS GSYMS GTAGS
 
-default: fifo
+default: parallel
 
 fifo: FORCE
 	@$(MAKE) -f Makefile.fifo
--- a/example/multiply/Func.h	Thu Apr 04 17:26:33 2013 +0900
+++ b/example/multiply/Func.h	Sat Apr 06 17:27:30 2013 +0900
@@ -3,4 +3,4 @@
     MULTIPLY_TASK,
 };
 
-#define DATA_NUM 100
+#define DATA_NUM 2
--- a/example/multiply/ppe/Multi.cc	Thu Apr 04 17:26:33 2013 +0900
+++ b/example/multiply/ppe/Multi.cc	Sat Apr 06 17:27:30 2013 +0900
@@ -17,7 +17,6 @@
     C = (float*)s->get_output(wbuf, 0);
 
     long i = (long)s->get_param(0);
-    printf("%ld\n",i);
     C[i]=A[i]*B[i];
     
     return 0;