added cuda device printing