dpctl.SyclPlatform¶
-
class
dpctl.
SyclPlatform
¶ Python class representing cl::sycl::platform class.
SyclPlatform() - create platform selected by sycl::default_selector SyclPlatform(filter_selector) - create platform selected by filter selector
Detail¶
Public methods¶
SyclPlatform.
backend
Returns the backend_type enum value for this device
- Returns
The backend for the device.
- Return type
SyclPlatform.
name
Returns the name of the platform as a string
SyclPlatform.
print_platform_info
()Print information about the SYCL platform.
SyclPlatform.
vendor
Returns the platform vendor name as a string.
SyclPlatform.
version
Returns a backend-defined driver version as a string.