Acceleration of Smoothed Particle Hydrodynamics using GPUs