Mercurial > hg > Game > Cerium
diff example/word_count/main.cc @ 1941:f19885ea776d draft
add wordcount for cuda. fix CudaScheduler. add makefile
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 04 Feb 2014 02:18:07 +0900 |
parents | 53c074e60b08 |
children | 273de551f726 |
line wrap: on
line diff
--- a/example/word_count/main.cc Sun Feb 02 18:34:31 2014 +0900 +++ b/example/word_count/main.cc Tue Feb 04 02:18:07 2014 +0900 @@ -339,7 +339,7 @@ array_task_num = atoi(argv[i+1]); i++; } else if (strcmp(argv[i], "-g") == 0) { - spe_cpu = GPU_ANY; + spe_cpu = GPU_0; } else if (strcmp(argv[i], "-any") == 0) { spe_cpu = ANY_ANY; } else if (strcmp(argv[i], "-i") == 0) {