public void Dispose() { m_CUDA.Free(DeviceNewPos); m_CUDA.Free(DeviceNewVel); m_CUDA.Free(DeviceOldPos); m_CUDA.Free(DeviceOldVel); }