Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Henning Fehrmann
NVidia_AMD_Bench
Commits
2a4cf28a
Commit
2a4cf28a
authored
Feb 08, 2021
by
Henning Fehrmann
Committed by
Henning Fehrmann
Feb 08, 2021
Browse files
need hw specific flags
parent
72043435
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
2a4cf28a
...
@@ -19,8 +19,8 @@ else ifeq ($(GPU), NVIDIA)
...
@@ -19,8 +19,8 @@ else ifeq ($(GPU), NVIDIA)
LDFLAGS_blas
=
-lcublas
LDFLAGS_blas
=
-lcublas
LDFLAGS_fftw
=
-lcufft
LDFLAGS_fftw
=
-lcufft
INCLUDE
=
-I
/usr/lib/x86_64-linux-gnu/openmpi/include/
INCLUDE
=
-I
/usr/lib/x86_64-linux-gnu/openmpi/include/
CFLAGS
=
${INCLUDE}
--compile
-O3
-pg
-Xcompiler
-fopenmp
-DCUDA
CFLAGS
=
${INCLUDE}
-arch
sm_70
--compile
-O3
-pg
-Xcompiler
-fopenmp
-DCUDA
CUDAFLAGS
=
--Werror
cross-execution-space-call
--Wno-deprecated-gpu-targets
CUDAFLAGS
=
-arch
sm_70
--Werror
cross-execution-space-call
--Wno-deprecated-gpu-targets
else
else
unknown_HW
:
unknown_HW
:
endif
endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment