torch.xpu.get_device_properties
- torch.xpu.get_device_properties(device=None)
Get the properties of a device. Returns _XpuDeviceProperties containing the following device properties:
name(str): device name.platform_name(str): SYCL platform name.(str): device vendor.