Mercurial > hg > Game > Cerium
changeset 1818:658c78f15992 draft
fix
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 13 Dec 2013 16:17:24 +0900 |
parents | b0376e1c51e9 |
children | ce1a5624395e |
files | TaskManager/test/UtilizationTest/main.cc TaskManager/test/UtilizationTest/multiply |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/test/UtilizationTest/main.cc Fri Dec 13 05:18:58 2013 +0900 +++ b/TaskManager/test/UtilizationTest/main.cc Fri Dec 13 16:17:24 2013 +0900 @@ -79,11 +79,11 @@ long task_id = 0; HTask* nop = manager->create_task(NOP); - nop->set_cpu(SPE_0); + nop->set_cpu(GPU_ANY); nop->spawn(); - + HTask *multiply = manager->create_task(MULTIPLY_TASK); - multiply->set_cpu(SPE_ANY); + multiply->set_cpu(GPU_ANY); multiply->set_inData(0,(memaddr)A, sizeof(float)*length); multiply->set_inData(1,(memaddr)B, sizeof(float)*length); multiply->set_param(0,task_id++);