rapids_test_generate_resource_spec
Added in version v23.04.00.
Generates a JSON resource specification file representing the machine’s GPUs using system introspection.
rapids_test_generate_resource_spec( DESTINATION filepath )
Generates a JSON resource specification file representing the machine’s GPUs using system introspection. This will allow CTest to schedule multiple single-GPU tests in parallel on multi-GPU machines.
For the majority of projects rapids_test_init()
should be used.
This command should be used directly projects that require multiple spec
files to be generated.
DESTINATION
Location that the JSON output from the detection should be written to
Note
Unlike rapids_test_init this doesn’t set CTEST_RESOURCE_SPEC_FILE