cuda.pathfinder.locate_bitcode_lib#
- cuda.pathfinder.locate_bitcode_lib( ) LocatedBitcodeLib#
Locate a bitcode library by name.
When
sm_archis notNone, locate the architecture-specific bitcode filename with_{sm_arch}inserted before the.bcsuffix.- Parameters:
name – Name of the supported bitcode library to locate.
sm_arch – Optional SM architecture suffix, such as
"sm90"or"sm90a". If notNone, it must matchsm[0-9]+[a-z]?.
- Raises:
ValueError – If
nameis not a supported bitcode library, or ifsm_archis notNoneand does not matchsm[0-9]+[a-z]?.BitcodeLibNotFoundError – If the bitcode library cannot be found.