INNER CODE UNIT · Rust
materializer_handshake
NVlabs/cuda-oxide · cuda-oxide/crates/cuda-artifact-finalizer/src/lib.rs:211
pub fn materializer_handshake(&self) -> Option<MaterializerHandshakeV1> {
Some(MaterializerHandshakeV1::new(
self.compiler.pinned_tool_provenance()?,
self.linker.pinned_tool_provenance()?,
self.compiler.libdevice_digest(),
))
}
/// Compile one NVVM IR module and return a validated target-specific cubin
/// that defines every kernel in `expected_kernels`.
pub fn materialize_nvvm_ir(
&self,
module_name: &str,
nvvm_ir: &[u8],
options: &FinalizationOptions,
expected_kernels: &[&str],
) -> Result<Vec<u8>, FinalizerError> {
let ltoir = self