updated CUDA hybridAPI and added a CUDA hello example
[charm.git] / tests / charm++ / pingpong / Makefile
1 SRC=../../../src
2 CHARMC=../../../bin/charmc $(OPTS)
3
4 OBJS = pingpong.o
5
6 all:    cifiles pgm
7
8 pgm: $(OBJS)
9         $(CHARMC) -language charm++ -pg -o pgm $(OBJS)
10
11 cifiles: pingpong.ci
12         $(CHARMC)  pingpong.ci
13
14 clean:
15         rm -f *.decl.h *.def.h conv-host *.o pgm charmrun
16
17 pingpong.o: pingpong.C
18 <<<<<<< Makefile
19         $(CHARMC) -pg -c pingpong.C
20 =======
21         $(CHARMC) -I$(SRC)/conv-core pingpong.C
22 >>>>>>> 1.4
23
24 test: all
25         @echo "Intra-processor Pingpong.."
26         ./charmrun ./pgm +p1 $(TESTOPTS)
27         @echo "Inter-processor Pingpong.."
28         ./charmrun ./pgm +p2 $(TESTOPTS)
29
30 bgtest: all
31         @echo "Intra-processor Pingpong.."
32         ./charmrun ./pgm +p1 +x1 +y1 +z1
33         @echo "Inter-processor Pingpong.."
34         ./charmrun ./pgm +p2 +x2 +y1 +z1
35