INNER CODE UNIT · Rust
link_ltoir
NVlabs/cuda-oxide · cuda-oxide/crates/cuda-artifact-finalizer/src/lib.rs:267
pub fn link_ltoir(
&self,
inputs: &[NamedInput<'_>],
options: &FinalizationOptions,
output: FinalizerOutput,
expected_kernels: &[&str],
) -> Result<Vec<u8>, FinalizerError> {
self.linker
.link_ltoir(inputs, options, output, expected_kernels)
}
/// Link ordered LTOIR modules while collecting ptxas resource diagnostics.
///
/// The diagnostics are best-effort: on an nvJitLink too old to accept the
/// reporting options, the link is retried without them and the report's
/// info log and resource usage are empty. See
/// [`LtoLinker::link_ltoir_with_report`].
pub fn link_ltoir_with_report(