Mercurial > hg > Game > Cerium
diff TaskManager/test/GpuRunTest/GpuRunTest.cc @ 1554:bd97edaed523 draft
nd_range
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 19 Feb 2013 20:26:26 +0900 |
parents | 57317332f6ef |
children | 6fe17b1c8cf3 |
line wrap: on
line diff
--- a/TaskManager/test/GpuRunTest/GpuRunTest.cc Sun Feb 17 19:42:36 2013 +0900 +++ b/TaskManager/test/GpuRunTest/GpuRunTest.cc Tue Feb 19 20:26:26 2013 +0900 @@ -83,9 +83,9 @@ HTaskPtr twice = manager->create_task(Twice); twice->set_param(0, (memaddr)length); twice->set_inData(0, indata, sizeof (int)*length); - int *n = new int[1]; - n[0]= 3; - twice->set_inData(1, n, sizeof (int)); + //int *n = new int[1]; + //n[0]= 3; + //twice->set_inData(1, n, sizeof (int)); twice->set_outData(0, outdata, sizeof (int)*length); twice->set_cpu(GPU_0);