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,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment