Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dim3 bloki (3, 3); dim3 wątki (4, 5, 6);
- _global_ void add (a, b, c) {
- tid =……
- while (tid<N){
- c[tid] = a[tid] + b[tid];
- tid += …..;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement