Skip to content

Commit

Permalink
del internal linkage
Browse files Browse the repository at this point in the history
  • Loading branch information
galeselee committed Jan 19, 2023
1 parent 68f871e commit 8a7aac9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions taichi/runtime/llvm/llvm_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -616,11 +616,6 @@ void TaichiLLVMContext::link_module_with_amdgpu_libdevice(
TI_ERROR("AMDGPU libdevice linking failure.");
}

for (auto func_name : libdevice_func_names) {
auto func = module->getFunction(func_name);
if (func)
func->setLinkage(llvm::Function::InternalLinkage);
}
}
#endif
}
Expand Down

0 comments on commit 8a7aac9

Please sign in to comment.