未验证 提交 7e8bcc07 编写于 作者: J Jinzhen Lin 提交者: GitHub

fix "undefined symbol: curandCreateGenerator" for quantizer op (#3846)

上级 c520d476
......@@ -623,7 +623,8 @@ class CUDAOpBuilder(OpBuilder):
sources=self.strip_empty_entries(self.sources()),
include_dirs=self.strip_empty_entries(self.include_paths()),
libraries=self.strip_empty_entries(self.libraries_args()),
extra_compile_args=compile_args)
extra_compile_args=compile_args,
extra_link_args=self.strip_empty_entries(self.extra_ldflags()))
if self.is_rocm_pytorch():
# hip converts paths to absolute, this converts back to relative
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册