torch_npu\csrc\libs\init_npu.h
c10::npu::current_device()
获取当前npu设备,功能与c10::cuda::current_device()相同。
device_index:设备index。