log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
hg
>
Papers
>
2014
>
kkb-sigos
comparison source/Multi.cl @ 2:
bff486ef0e8c
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
commit
author
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date
Mon, 21 Apr 2014 03:30:37 +0900
parents
children
comparison
equal
deleted
inserted
replaced
1:a0fad656a7ea
2:bff486ef0e8c
1
__kernel void
2
multi(__global const long *params, __global const float* A, __global const float* B, __global float* C)
3
{
4
// get index
5
long id = get_global_id(0);
6
C[id]=A[id]*B[id];
7
}