ENCCS / OpenACC-CUDA-beginners

ENCCS introductory lesson on OpenACC and CUDA
http://enccs.github.io/OpenACC-CUDA-beginners/
8 stars 6 forks source link

Issues with HeatEquation #18

Open zhmurov opened 3 years ago

zhmurov commented 3 years ago
  1. The correspondence between (x,y) and (i,j) should be checked. There are places where dx and dy are confused, probably the indices are misused in places as well.
  2. Check if the array layout good for PNG writer (i.e. the area is not rotated 90 degrees).
  3. Read initial conditions from the file and move the I/O into the separate file to make the working file smaller.