Skip to content
Snippets Groups Projects
Commit 5410dfee authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Correct USE_NVTX flag logic

parent 4edaf082
No related branches found
No related tags found
No related merge requests found
...@@ -102,12 +102,11 @@ endif ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment