Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
psrdada_cpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MPIfR-BDG
psrdada_cpp
Commits
a5fe3846
Commit
a5fe3846
authored
Mar 21, 2019
by
Tobias Winchen
Browse files
Options
Downloads
Patches
Plain Diff
Added build type for profiling
parent
656eacb6
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/cuda.cmake
+2
-0
2 additions, 0 deletions
cmake/cuda.cmake
with
2 additions
and
0 deletions
cmake/cuda.cmake
+
2
−
0
View file @
a5fe3846
...
...
@@ -12,10 +12,12 @@ if(ENABLE_CUDA)
set
(
CUDA_HOST_COMPILER
${
CMAKE_CXX_COMPILER
}
)
set
(
CUDA_PROPAGATE_HOST_FLAGS OFF
)
add_definitions
(
-DENABLE_CUDA
)
# Pass options to NVCC ( -ccbin /path --compiler-options -lfftw3f --compiler-options -lm --verbose)
list
(
APPEND CUDA_NVCC_FLAGS -DENABLE_CUDA --std c++11 -Wno-deprecated-gpu-targets --ptxas-options=-v
)
list
(
APPEND CUDA_NVCC_FLAGS_DEBUG --debug; --device-debug; --generate-line-info -Xcompiler
"-Werror"
)
list
(
APPEND CUDA_NVCC_FLAGS_PROFILE --generate-line-info
)
#list(APPEND CUDA_NVCC_FLAGS -arch compute_35) # minumum compute level (Sps restriction)
string
(
TOUPPER
"
${
CMAKE_BUILD_TYPE
}
"
uppercase_CMAKE_BUILD_TYPE
)
if
(
NOT uppercase_CMAKE_BUILD_TYPE MATCHES
"DEBUG"
)
...
...
...
...
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
sign in
to comment