@@ -406,30 +406,31 @@ def override_options(self):
406406 "--cuda-sanity-check-accept-ptx-as-devcode, "
407407 "or made more stringent using --cuda-sanity-check-strict." ,
408408 'strlist' , 'extend' , None ),
409- 'cuda-sanity-check-accept-missing-ptx' : ("CUDA sanity check also passes if PTX code for the highest "
409+ 'cuda-sanity-check-accept-missing-ptx' : ("Relax CUDA sanity check to accept that PTX code for the highest "
410410 "requested CUDA compute capability is not present (but will "
411411 "print a warning)" ,
412412 None , 'store_true' , False ),
413- 'cuda-sanity-check-accept-ptx-as-devcode' : ("CUDA sanity check also passes if requested device code is "
414- "not present, as long as PTX code is present that can be "
415- "JIT-compiled for each target in --cuda-compute-capabilities "
416- "E.g. if --cuda-compute-capabilities=8.0 and a binary is "
417- "found in the installation that does not have device code for "
418- "8.0, but it does have PTX code for 7.0, the sanity check "
419- "will pass if, and only if, this option is True . "
413+ 'cuda-sanity-check-accept-ptx-as-devcode' : ("Relax CUDA sanity check to accept that requested device code "
414+ "is not present, as long as PTX code is present that can be "
415+ "JIT-compiled for each target in --cuda-compute-capabilities. "
416+ "For example, if --cuda-compute-capabilities=8.0 and a binary "
417+ "is found in the installation that does not have device code "
418+ "for 8.0, but it does have PTX code for 7.0, the sanity check "
419+ "will pass if, and only if, this option is enabled . "
420420 "Note that JIT-compiling means the binary will work on the "
421421 "requested architecture, but is it not necessarily as well "
422422 "optimized as when actual device code is present for the "
423423 "requested architecture " ,
424424 None , 'store_true' , False ),
425- 'cuda-sanity-check-error-on-fail' : ("If True, failures in the CUDA sanity check will produce an error. "
426- "If False, the CUDA sanity check will be performed, and failures will "
427- "be reported, but they will not result in an error" ,
428- None , 'store_true' , False ),
425+ 'cuda-sanity-check-error-on-failed-checks' : ("If enabled, failures in the CUDA sanity check will produce "
426+ "an error. If disabled, the CUDA sanity check will be "
427+ "performed and failures will be reported through warnings, "
428+ "but they will not result in an error" ,
429+ None , 'store_true' , False ),
429430 'cuda-sanity-check-strict' : ("Perform strict CUDA sanity check. Without this option, the CUDA sanity "
430431 "check will fail if the CUDA binaries don't contain code for (at least) "
431- "all compute capabilities defined in --cude-compute-capabilities, but will "
432- "accept if code for additional compute capabilities is present. "
432+ "all compute capabilities defined in --cude-compute-capabilities, "
433+ "but will accept if code for additional compute capabilities is present. "
433434 "With this setting, the sanity check will also fail if code is present for "
434435 "more compute capabilities than defined in --cuda-compute-capabilities." ,
435436 None , 'store_true' , False ),
0 commit comments