repo.or.cz
/
ppcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
CUDA backend: do not declare or allocate arrays that are not accessed
[ppcg.git]
/
tests
/
call2_opencl_functions.cl
blob
6f72aea34e87f5b66d43fb38360f82e84f07e3a0
1
void copy
(
__global
int b
[1000], __global int a[1000]
,
int pos
)
2
{
3
b
[pos] = a[pos]
;
4
}