Mercurial > hg > Game > Cerium
annotate example/word_count/Makefile @ 2069:26aa08c9a1de draft default tip
cuda example fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 12 Feb 2017 10:04:55 +0900 |
parents | 7dc90c83a787 |
children |
rev | line source |
---|---|
393 | 1 default: macosx |
2 | |
3 macosx: FORCE | |
4 @echo "Make for Mac OS X" | |
5 @$(MAKE) -f Makefile.macosx | |
6 | |
7 linux: FORCE | |
8 @echo "Make for Linux" | |
9 @$(MAKE) -f Makefile.linux | |
10 | |
11 cell: FORCE | |
12 @echo "Make for CELL (Cell)" | |
13 @$(MAKE) -f Makefile.cell | |
14 | |
2003
7dc90c83a787
change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1941
diff
changeset
|
15 gpu: FORCE |
7dc90c83a787
change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1941
diff
changeset
|
16 @echo "Make for OpenCL" |
7dc90c83a787
change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1941
diff
changeset
|
17 @$(MAKE) -f Makefile.gpu |
7dc90c83a787
change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1941
diff
changeset
|
18 |
7dc90c83a787
change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1941
diff
changeset
|
19 cuda: FORCE |
7dc90c83a787
change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1941
diff
changeset
|
20 @echo "Make for Cuda" |
7dc90c83a787
change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1941
diff
changeset
|
21 @$(MAKE) -f Makefile.cuda |
7dc90c83a787
change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1941
diff
changeset
|
22 |
1884
d28f0c5489c3
ppe conditional wait done.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1849
diff
changeset
|
23 test: |
d28f0c5489c3
ppe conditional wait done.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1849
diff
changeset
|
24 ./word_count -file c.txt |
d28f0c5489c3
ppe conditional wait done.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1849
diff
changeset
|
25 |
2003
7dc90c83a787
change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1941
diff
changeset
|
26 parallel-test: macosx |
7dc90c83a787
change set_last(t to next). run test at compilation time
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1941
diff
changeset
|
27 @$(MAKE) -f Makefile.macosx test |
1538
fac06524090b
add gpu task wordcount. But not work print
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
946
diff
changeset
|
28 |
1849 | 29 gpu-test: FORCE |
30 @echo "Make for OpenCL" | |
31 @$(MAKE) -f Makefile.gpu test | |
32 | |
1941
f19885ea776d
add wordcount for cuda. fix CudaScheduler. add makefile
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1884
diff
changeset
|
33 |
393 | 34 FORCE: |
35 | |
36 clean: | |
37 @$(MAKE) -f Makefile.macosx clean | |
38 @$(MAKE) -f Makefile.linux clean | |
1849 | 39 @$(MAKE) -f Makefile.cell clean |
1941
f19885ea776d
add wordcount for cuda. fix CudaScheduler. add makefile
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents:
1884
diff
changeset
|
40 @$(MAKE) -f Makefile.cuda clean |