Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
5410dfee
Commit
5410dfee
authored
10 months ago
by
Giovanni La Mura
Browse files
Options
Downloads
Patches
Plain Diff
Correct USE_NVTX flag logic
parent
4edaf082
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/make.inc
+2
-3
2 additions, 3 deletions
src/make.inc
with
2 additions
and
3 deletions
src/make.inc
+
2
−
3
View file @
5410dfee
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment