dpctl.SyclDevice.has_aspect_gpu¶ SyclDevice.has_aspect_gpu¶ Returns True if this device is a GPU device, False otherwise. Example: >>> import dpctl >>> dev = dpctl.select_cpu_device() >>> dev.has_aspect_gpu False Returns: Indicates whether the device is a gpu. Return type: bool