cuda.pathfinder.locate_bitcode_lib#
- cuda.pathfinder.locate_bitcode_lib( ) LocatedBitcodeLib#
Locate a bitcode library by name, returning its resolved absolute path.
- Parameters:
name – Supported bitcode library name.
sm_arch – Target SM without the
sm_prefix, such as"90"or"100a". If specified, search only for the file selected for that SM by the library’s configuration. The matching file must be present in the installation. PassNoneor omit this argument to search for the default file.
- Raises:
ValueError – If
nameis not a supported bitcode library. Also raised ifsm_archis invalid.BitcodeLibNotFoundError – If the bitcode library cannot be found. Also raised if no file is configured for the request.