mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-24 14:39:19 +08:00
update lib path for conda
This commit is contained in:
parent
9d4c014f60
commit
805e60bdfc
|
@ -63,7 +63,7 @@
|
|||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<AdditionalDependencies>cudart.lib;cudart_static.lib;msmpi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>$(CudaToolkitLibDir);$(CUDA_PATH)/lib$(LIBSIZE);$(MSMPI_LIB64);</AdditionalLibraryDirectories>
|
||||
<AdditionalLibraryDirectories>$(CudaToolkitLibDir);$(CUDA_PATH)/lib;$(CUDA_PATH)/lib$(LIBSIZE);$(MSMPI_LIB64);</AdditionalLibraryDirectories>
|
||||
<OutputFile>$(OutDir)/simpleMPI.exe</OutputFile>
|
||||
</Link>
|
||||
<CudaCompile>
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<AdditionalDependencies>cudart.lib;cudart_static.lib;msmpi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>$(CudaToolkitLibDir);$(CUDA_PATH)/lib$(LIBSIZE);$(MSMPI_LIB64);</AdditionalLibraryDirectories>
|
||||
<AdditionalLibraryDirectories>$(CudaToolkitLibDir);$(CUDA_PATH)/lib;$(CUDA_PATH)/lib$(LIBSIZE);$(MSMPI_LIB64);</AdditionalLibraryDirectories>
|
||||
<OutputFile>$(OutDir)/simpleMPI.exe</OutputFile>
|
||||
</Link>
|
||||
<CudaCompile>
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<AdditionalDependencies>cudart.lib;cudart_static.lib;msmpi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>$(CudaToolkitLibDir);$(CUDA_PATH)/lib$(LIBSIZE);$(MSMPI_LIB64);</AdditionalLibraryDirectories>
|
||||
<AdditionalLibraryDirectories>$(CudaToolkitLibDir);$(CUDA_PATH)/lib;$(CUDA_PATH)/lib$(LIBSIZE);$(MSMPI_LIB64);</AdditionalLibraryDirectories>
|
||||
<OutputFile>$(OutDir)/simpleMPI.exe</OutputFile>
|
||||
</Link>
|
||||
<CudaCompile>
|
||||
|
|
|
@ -417,7 +417,7 @@ LIBSIZE := 64
|
|||
endif
|
||||
endif
|
||||
|
||||
LIBRARIES += -L$(CUDA_PATH)/lib$(LIBSIZE) -ldl
|
||||
LIBRARIES += -L$(CUDA_PATH)/lib -L$(CUDA_PATH)/lib$(LIBSIZE) -ldl
|
||||
|
||||
ifeq ($(SAMPLE_ENABLED),0)
|
||||
EXEC ?= @echo "[@]"
|
||||
|
|
Loading…
Reference in New Issue
Block a user