Device number
Returns cudaSuccess if the device was set successfully, or an error code if there was an issue.
cudaSuccess
Sets the current device.