changeset 1944:dcf42acc5006 draft

add test regex_mas
author masa
date Wed, 05 Feb 2014 19:13:30 +0900
parents f82bb7393c4d
children 653c1caf1362
files example/regex_mas/Makefile example/regex_mas/Makefile.gpu
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/example/regex_mas/Makefile	Wed Feb 05 18:28:52 2014 +0900
+++ b/example/regex_mas/Makefile	Wed Feb 05 19:13:30 2014 +0900
@@ -16,9 +16,12 @@
 	@echo "Make for OpenCL"
 	@$(MAKE) -f Makefile.gpu
 
+test:
+	./regex -file c.txt -cpu 4 -sw doing -dr
+
 FORCE:
 
 clean:
 	@$(MAKE) -f Makefile.macosx clean
 	@$(MAKE) -f Makefile.linux clean
-	@$(MAKE) -f Makefile.cell clean
\ No newline at end of file
+	@$(MAKE) -f Makefile.cell clean
--- a/example/regex_mas/Makefile.gpu	Wed Feb 05 18:28:52 2014 +0900
+++ b/example/regex_mas/Makefile.gpu	Wed Feb 05 19:13:30 2014 +0900
@@ -8,8 +8,9 @@
 TASK_DIR1  = ppe
 #TASK_SRCS_TMP = $(wildcard $(TASK_DIR)/*.cc)
 TASK_DIR2  = gpu
-TASK_SRCS_TMP = $(wildcard $(TASK_DIR2)/*.cc $(TASK_DIR1)/*.cc)
-TASK_SRCS_EXCLUDE = Exec.cc
+# TASK_SRCS_TMP = $(wildcard $(TASK_DIR2)/*.cc $(TASK_DIR1)/*.cc)
+TASK_SRCS_TMP = $(wildcard  $(TASK_DIR1)/*.cc)
+TASK_SRCS_EXCLUDE = # Exec.cc
 TASK_SRCS = $(filter-out $(TASK_DIR1)/$(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP))
 TASK_OBJS = $(TASK_SRCS:.cc=.o)