Done the simulation

256*256 image:
total time: 195-330 ms
compute time: 0.019-0.021 ms
data transfer time extremely affects the total performance.