diff --git a/src/make.inc b/src/make.inc index 4754af13194d4a7eeb833c7029cab213addbb4ec..51a8f48ece74558dad98df3d143fffc75dfabd6c 100644 --- a/src/make.inc +++ b/src/make.inc @@ -102,14 +102,13 @@ endif ifdef CUDA_HOME override MAGMA_LDFLAGS+= -L$(CUDA_HOME)/lib64 endif -#override MAGMA_LDFLAGS+= -lmagma -lcudart -lnvToolsExt override MAGMA_LDFLAGS+= -lmagma -lcudart #the next endif is for USE_MAGMA endif -# define (outside) USE_NVTX to enable NVIDIA profiling +# define (outside) USE_NVTX for NVIDIA profiling ifdef USE_NVTX -override NVTX_FLAGS=-DUSE_NVTX +override NVTX_FLAGS= -DUSE_NVTX ifdef CUDA_HOME override NVTX_FLAGS+= -I$(CUDA_HOME)/include # closes CUDA_HOME