Hello all , i am new in GPU program and try to write the GPU program to compute the average energy and the motion of the system of spin (say 10000 atoms)
the comcept is that i select a group of spin(group 1) that are independent from each other to a “block”. This group of spins have their own energy and motion value. however, to compute the other group of spins(group 2), their values are depend on group 1 values.
i dont have any idea that after the GPU finish to compute one block , then put those value to the global memony…finally get back those values to compute another blocks…
do anyone please give me some idea ? thanks a lot~~