mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-24 16:49:18 +08:00
update lib path for conda
This commit is contained in:
parent
9d4c014f60
commit
805e60bdfc
|
@ -63,7 +63,7 @@
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Console</SubSystem>
|
<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>
|
<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>
|
<OutputFile>$(OutDir)/simpleMPI.exe</OutputFile>
|
||||||
</Link>
|
</Link>
|
||||||
<CudaCompile>
|
<CudaCompile>
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Console</SubSystem>
|
<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>
|
<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>
|
<OutputFile>$(OutDir)/simpleMPI.exe</OutputFile>
|
||||||
</Link>
|
</Link>
|
||||||
<CudaCompile>
|
<CudaCompile>
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Console</SubSystem>
|
<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>
|
<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>
|
<OutputFile>$(OutDir)/simpleMPI.exe</OutputFile>
|
||||||
</Link>
|
</Link>
|
||||||
<CudaCompile>
|
<CudaCompile>
|
||||||
|
|
|
@ -417,7 +417,7 @@ LIBSIZE := 64
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIBRARIES += -L$(CUDA_PATH)/lib$(LIBSIZE) -ldl
|
LIBRARIES += -L$(CUDA_PATH)/lib -L$(CUDA_PATH)/lib$(LIBSIZE) -ldl
|
||||||
|
|
||||||
ifeq ($(SAMPLE_ENABLED),0)
|
ifeq ($(SAMPLE_ENABLED),0)
|
||||||
EXEC ?= @echo "[@]"
|
EXEC ?= @echo "[@]"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user