mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +08:00
Help: Fix error in resource allocation example
This commit is contained in:
@@ -1479,8 +1479,8 @@ The following variables are passed to the test process:
|
|||||||
* ``CTEST_RESOURCE_GROUP_2_CRYPTO_CHIPS=id:card0,slots:2``
|
* ``CTEST_RESOURCE_GROUP_2_CRYPTO_CHIPS=id:card0,slots:2``
|
||||||
|
|
||||||
In this example, group 0 gets 2 slots from GPU ``0``, group 1 gets 2 slots
|
In this example, group 0 gets 2 slots from GPU ``0``, group 1 gets 2 slots
|
||||||
from GPU ``2``, and group 2 gets 4 slots from GPU ``1`` and 2 slots from
|
from GPU ``2``, and group 2 gets 4 slots from GPU ``1``, 1 slot from GPU
|
||||||
cryptography chip ``card0``.
|
``3``, and 2 slots from cryptography chip ``card0``.
|
||||||
|
|
||||||
``<num>`` is a number from zero to ``CTEST_RESOURCE_GROUP_COUNT`` minus one.
|
``<num>`` is a number from zero to ``CTEST_RESOURCE_GROUP_COUNT`` minus one.
|
||||||
``<resource-type>`` is the name of a resource type, converted to uppercase.
|
``<resource-type>`` is the name of a resource type, converted to uppercase.
|
||||||
|
Reference in New Issue
Block a user