Commit 5410dfee authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Correct USE_NVTX flag logic

parent 4edaf082
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -102,12 +102,11 @@ endif
ifdef CUDA_HOME
ifdef CUDA_HOME
override MAGMA_LDFLAGS+= -L$(CUDA_HOME)/lib64
override MAGMA_LDFLAGS+= -L$(CUDA_HOME)/lib64
endif
endif
#override MAGMA_LDFLAGS+= -lmagma -lcudart -lnvToolsExt
override MAGMA_LDFLAGS+= -lmagma -lcudart
override MAGMA_LDFLAGS+= -lmagma -lcudart
#the next endif is for USE_MAGMA
#the next endif is for USE_MAGMA
endif
endif


# define (outside) USE_NVTX to enable NVIDIA profiling
# define (outside) USE_NVTX for NVIDIA profiling
ifdef USE_NVTX
ifdef USE_NVTX
override NVTX_FLAGS= -DUSE_NVTX
override NVTX_FLAGS= -DUSE_NVTX
ifdef CUDA_HOME
ifdef CUDA_HOME