Change CUDA settings for Debug builds.
This commit is contained in:
Родитель
7f88e5b771
Коммит
dede055e1c
2
Makefile
2
Makefile
|
@ -130,7 +130,7 @@ GENCODE_FLAGS := $(GENCODE_SM20) $(GENCODE_SM30) $(GENCODE_SM35) $(GENCODE_SM50)
|
||||||
|
|
||||||
ifeq ("$(BUILDTYPE)","debug")
|
ifeq ("$(BUILDTYPE)","debug")
|
||||||
CXXFLAGS += -g
|
CXXFLAGS += -g
|
||||||
CUFLAGS += -O0 -G -lineinfo -gencode arch=compute_20,code=\"compute_20\"
|
CUFLAGS += -O0 -G -lineinfo -gencode arch=compute_20,code=\"compute_20\" $(GENCODE_SM35)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("$(BUILDTYPE)","release")
|
ifeq ("$(BUILDTYPE)","release")
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
<Link>
|
<Link>
|
||||||
</Link>
|
</Link>
|
||||||
<CudaCompile>
|
<CudaCompile>
|
||||||
<CodeGeneration>compute_20,compute_20;</CodeGeneration>
|
<CodeGeneration>compute_20,compute_20;compute_35,sm_35</CodeGeneration>
|
||||||
</CudaCompile>
|
</CudaCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
|
Загрузка…
Ссылка в новой задаче