Advertisement
Guest User

grafika3d

a guest
May 29th, 2016
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.15 KB | None | 0 0
  1. dim3 bloki (3, 3); dim3 wątki (4, 5, 6);
  2. _global_ void add (a, b, c) {
  3. tid =……
  4. while (tid<N){
  5. c[tid] = a[tid] + b[tid];
  6. tid += …..;
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement