Mercurial > hg > Game > Cerium
changeset 1994:727e896269e9 draft
commit
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 21 Apr 2014 00:02:11 +0900 |
parents | 82e6eb0fa692 |
children | c961cc335471 |
files | example/word_count/main.cc |
diffstat | 1 files changed, 0 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/example/word_count/main.cc Sat Apr 19 19:06:22 2014 +0900 +++ b/example/word_count/main.cc Mon Apr 21 00:02:11 2014 +0900 @@ -174,26 +174,6 @@ w->task_num -= array_task_num; w->task_spawned += array_task_num-1; - // if(w->size < 0) { - // h_exec = manager->create_task(TASK_EXEC_DATA_PARALLEL); - // h_exec->flip(); - // h_exec->set_inData(0,w->file_mmap,w->file_size); - // h_exec->set_inData(1,w->o_data,w->out_size_); - // h_exec->set_outData(0,w->file_mmap,w->file_size); - // h_exec->set_outData(1,w->o_data,w->out_size_); - // h_exec->set_param(0,(long)w->task_spawned); - // h_exec->set_param(1,(long)w->division_size); - // h_exec->set_param(2,(long)(size+w->size)); - // h_exec->set_param(3,(long)w->out_size); - - // t_next->wait_for(h_exec); - // h_exec->set_cpu(spe_cpu); - // h_exec->iterate(1); - - // w->task_num -= 1; - // w->task_spawned += 1; - // array_task_num += 1; - // } break; } else { h_exec = manager->create_task(TASK_EXEC,