A
lgorithmique
N
umérique
D
istribuée
Private GIT Repository
projects
/
book_gpu.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new
[book_gpu.git]
/
BookGPU
/
Chapters
/
chapter13
/
ex3.cu
1
texture<int2,1> v;
2
3
static __inline__
4
__device__ double fetch_double(texture<int2,1> v, int i)
5
{
6
int2 w = tex1Dfetch(v, i);
7
return __hiloint2double(w.y, w.x);
8
}