Merge pull request #18 from apaszke/master
Add --no-as-needed to make sure that cudart library gets linked
[ROCm/rccl commit: 0d4f8f4e95]
Ta zmiana jest zawarta w:
%! (template.HTML=
Nathan Luehr)złożyło 2016-04-19 11:11:39 -07:00
złożenie
bd7eec1f8d
Plik 1 zmieniony
+1
-1
@@ -50,7 +50,7 @@ NVCUFLAGS += -Xptxas -v -Xcompiler -Wall,-Wextra
|
||||
CXXFLAGS += -Wall -Wextra
|
||||
endif
|
||||
|
||||
LDFLAGS := -L$(CUDA_HOME)/lib64 -lcudart
|
||||
LDFLAGS := -Wl,--no-as-needed -L$(CUDA_HOME)/lib64 -lcudart
|
||||
MPIFLAGS := -I$(MPI_HOME)/include -L$(MPI_HOME)/lib -lmpi
|
||||
TSTINC := -Ibuild/include -Itest/include
|
||||
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika