We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd53030 commit 8d90ab2Copy full SHA for 8d90ab2
setup.py
@@ -275,6 +275,7 @@ def run(self):
275
extra_link_args.append('-Wl,-rpath,' + cuda_lib_path)
276
extra_compile_args += ['-DWITH_CUDA']
277
extra_compile_args += ['-DCUDA_LIB_PATH=' + cuda_lib_path]
278
+ main_libraries += ['cudart']
279
main_link_args += [THC_LIB, THCS_LIB, THCUNN_LIB]
280
main_sources += [
281
"torch/csrc/cuda/Module.cpp",
0 commit comments