Initialize a GPU device.
Initialize a specified GPU device rather than the default device found by pycuda.autoinit.
n : int
Device number.
dev : pycuda.driver.Device
Initialized device.