pub(crate) fn extend_exported_symbols<'tcx>(
symbols: &mut Vec<String>,
tcx: TyCtxt<'tcx>,
symbol: ExportedSymbol<'tcx>,
instantiating_crate: CrateNum,
)
Expand description
On amdhsa, gpu-kernel
functions have an associated metadata object with a .kd
suffix.
Add it to the symbols list for all kernel functions, so that it is exported in the linked
object.