mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-07-20 10:46:21 +03:00
Remove duplicate call to linker (#410)
This commit is contained in:
@ -186,7 +186,6 @@ pub fn compile_bitcode(
|
|||||||
let stdlib_bitcode_data = Data::new(comgr, DataKind::Bc, c"ptx_impl.bc", ptx_impl)?;
|
let stdlib_bitcode_data = Data::new(comgr, DataKind::Bc, c"ptx_impl.bc", ptx_impl)?;
|
||||||
bitcode_data_set.add(&stdlib_bitcode_data)?;
|
bitcode_data_set.add(&stdlib_bitcode_data)?;
|
||||||
let linking_info = ActionInfo::new(comgr)?;
|
let linking_info = ActionInfo::new(comgr)?;
|
||||||
comgr.do_action(ActionKind::LinkBcToBc, &linking_info, &bitcode_data_set)?;
|
|
||||||
let linked_data_set =
|
let linked_data_set =
|
||||||
comgr.do_action(ActionKind::LinkBcToBc, &linking_info, &bitcode_data_set)?;
|
comgr.do_action(ActionKind::LinkBcToBc, &linking_info, &bitcode_data_set)?;
|
||||||
let compile_to_exec = ActionInfo::new(comgr)?;
|
let compile_to_exec = ActionInfo::new(comgr)?;
|
||||||
|
Reference in New Issue
Block a user