Mercurial > hg > Game > Cerium
changeset 1689:c595245aa59e draft
fix fft
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 20 Aug 2013 13:34:20 +0900 |
parents | 705f09f646ac |
children | aff937b6a26a |
files | example/fft/Makefile.macosx example/fft/main.cc example/fft/output.pgm |
diffstat | 3 files changed, 19 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/example/fft/Makefile.macosx Tue Aug 13 17:37:25 2013 +0900 +++ b/example/fft/Makefile.macosx Tue Aug 20 13:34:20 2013 +0900 @@ -33,23 +33,23 @@ $(CC) -o $(TARGET) $(OBJS) $(TASK_OBJS) $(LIBS) hoge: - cpus=0;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=1;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=2;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=3;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=4;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=5;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=6;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=7;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=8;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=9;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=10;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=11;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=12;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=13;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=14;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=15;./$(TARGET) -file lena.pgm -cpu $$cpus - cpus=16;./$(TARGET) -file lena.pgm -cpu $$cpus + cpus=0;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=1;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=2;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=3;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=4;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=5;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=6;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=7;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=8;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=9;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=10;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=11;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=12;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=13;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=14;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=15;./$(TARGET) -file lena512.pgm -cpu $$cpus + cpus=16;./$(TARGET) -file lena512.pgm -cpu $$cpus debug: $(TARGET) sudo gdb ./$(TARGET)
--- a/example/fft/main.cc Tue Aug 13 17:37:25 2013 +0900 +++ b/example/fft/main.cc Tue Aug 20 13:34:20 2013 +0900 @@ -164,7 +164,7 @@ char *filename = 0; - printf("%s ",argv[4]); + // printf("%s ",argv[4]); for (int i = 1; argv[i]; ++i) { if (strcmp(argv[i], "-file") == 0) { filename = argv[i+1]; @@ -282,8 +282,8 @@ fprintf(stderr, "Failed to read image file.\n"); exit(1); } + run_start(manager, ipgm); st_time = getTime(); - run_start(manager, ipgm); manager->set_TMend(TMend); return 0; }