Mercurial > hg > Game > Cerium
changeset 1772:6d173ec5ea9a draft
add multi1
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 23 Nov 2013 08:58:15 +0900 |
parents | 8bf0a27f5dff |
children | 83ef550db0a8 |
files | TaskManager/test/UtilizationTest/gpu/Multi1.cl |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TaskManager/test/UtilizationTest/gpu/Multi1.cl Sat Nov 23 08:58:15 2013 +0900 @@ -0,0 +1,7 @@ +__kernel void +multi1(__global const void *params,__global const float *A, __global const float*B, __global float *C) +{ + int i=get_global_id(0); + + C[i]=A[i]*B[i]; +}