Mercurial > hg > Game > Cerium
changeset 1821:d3e95fcd6f3e draft
add file
author | kkb |
---|---|
date | Fri, 13 Dec 2013 17:13:20 +0900 |
parents | ce1a5624395e |
children | 4251e9b607b4 |
files | TaskManager/test/UtilizationTest/gpu/Nop.cl TaskManager/test/UtilizationTest/main.cc TaskManager/test/UtilizationTest/multiply |
diffstat | 3 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TaskManager/test/UtilizationTest/gpu/Nop.cl Fri Dec 13 17:13:20 2013 +0900 @@ -0,0 +1,5 @@ +__kernel void +nop1() +{ + +}
--- a/TaskManager/test/UtilizationTest/main.cc Fri Dec 13 17:07:33 2013 +0900 +++ b/TaskManager/test/UtilizationTest/main.cc Fri Dec 13 17:13:20 2013 +0900 @@ -79,7 +79,7 @@ long task_id = 0; HTask* nop = manager->create_task(NOP); - nop->set_cpu(SPE_ANY); + nop->set_cpu(GPU_ANY); nop->spawn(); HTask *multiply = manager->create_task(MULTIPLY_TASK);