Protect against inadvertent activation of USE_CUDA

This commit is contained in:
Martin Kroeker
2020-08-01 12:31:39 +02:00
committed by GitHub
parent 525db5401c
commit 60cd5e55fc

View File

@@ -47,8 +47,10 @@ endif
endif
ifdef USE_CUDA
ifeq ($(USE_CUDA), 1)
COMMONOBJS += cuda_init.$(SUFFIX)
endif
endif
ifdef FUNCTION_PROFILE
COMMONOBJS += profile.$(SUFFIX)