PetaFlop Kernel: c). Irregular gather/scatter
PetaFlop Kernel: c). Irregular gather/scatter
- ! This loop initializes the array idx with
- ! pseudo-random numbers between 1 and n=10^8.
- do i = 1, n
- idx(i) = 1 + mod (13131313*i, n)
- enddo
- ! Indexed loop:
- do i = 1, n
- enddo
Notes:
15