Table .
Input:npth, , αpth, |
Output: |
1: {Copy from host to constant memory} |
2: fornx = 0 toNx/Npth − 1 do |
3: x = (nx + npthNx/Npth)Δs + xmin |
4: forny = 0 toNy − 1 do |
5: y = nyΔs + ymin |
6: {Copy from host to constant |
memory} |
7: K_fwdsph ⟨⟨⟨ (Nv, Nr), (Nf, 1, 1) ⟩⟩⟩ (x, y, D_) |
8: endfor |
9: endfor |
10: {Copy from global memory to host} |