dpctl.SyclPlatform.print_platform_info

SyclPlatform.print_platform_info(verbosity=0)

Print information about the SYCL platform.

The level of information printed out by the function can be controlled by the optional vebosity setting.

  • Verbosity level 0: Prints out the list of platforms and their names.

  • Verbosity level 1: Prints out the name, version, vendor, backend, number of devices for each platform.

  • Verbosity level 2: At the highest level of verbosity everything in the previous levels along with the name, version, and filter string for each device is printed.

Parameters:

verbosity (Literal[0, 1, 2], optional) –

. The verbosity controls how much information is printed by the function. Value 0 is the lowest level set by default and 2 is the highest level to print the most verbose output. Default: 0