For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python function
set_virtual_device_count
set_virtual_device_count()โ
Sets the number of virtual devices for device creation.
When count is greater than 0, device creation returns virtual
devices for GPU APIs, and device enumeration reports this count. This
allows creating devices for GPU configurations beyond the current
hardware.
-
Parameters:
-
count โ The number of virtual devices. Set to 0 to disable virtual device mode.