Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirtualFluids
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iRMB
VirtualFluids
Commits
88931b90
Commit
88931b90
authored
4 years ago
by
schoen
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' of
https://git.rz.tu-bs.de/irmb/VirtualFluids_dev
into develop
parents
4944954b
64a84689
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!35
Kernel factory simplified
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+0
-2
0 additions, 2 deletions
CMakeLists.txt
src/gpu/GridGenerator/CMakeLists.txt
+2
-16
2 additions, 16 deletions
src/gpu/GridGenerator/CMakeLists.txt
with
2 additions
and
18 deletions
CMakeLists.txt
+
0
−
2
View file @
88931b90
...
...
@@ -113,8 +113,6 @@ if(BUILD_VF_GPU)
set
(
CMAKE_CUDA_STANDARD_REQUIRED TRUE
)
set
(
CMAKE_CUDA_FLAGS
"
${
CMAKE_CUDA_FLAGS
}
-Xcudafe --display_error_number"
)
if
(
NOT DEFINED CMAKE_CUDA_ARCHITECTURES
)
message
(
WARNING
"CMAKE_CUDA_ARCHITECTURES was not defined and is set to 30 (CUDA support until 10.1 only)."
)
set
(
CMAKE_CUDA_ARCHITECTURES 30
)
...
...
This diff is collapsed.
Click to expand it.
src/gpu/GridGenerator/CMakeLists.txt
+
2
−
16
View file @
88931b90
...
...
@@ -12,19 +12,5 @@ if (NOT BUILD_SHARED_LIBRARY)
set_target_properties
(
${
library_name
}
PROPERTIES CUDA_RESOLVE_DEVICE_SYMBOLS ON
)
endif
()
# suppress warning 3123, 3126: calling a __host__ function from __host__ __device__ is not allowed
# suppress warning 3152: __host__ function redeclared with __host__ __device__, hence treated as a __host__ __device__ function
# suppress warning 3125, 3127: calling a constexpr __host__ function from a __host__ __device__ function
set
(
cuda_warnings_suppressions
"--diag_suppress=3123 --diag_suppress=3126 --diag_suppress=3152 --diag_suppress=3125 --diag_suppress=3127"
)
# suppress warning 3311: unrecognized #pragma in device code
if
(
NOT MSVC
)
set
(
cuda_warnings_suppressions
"
${
cuda_warnings_suppressions
}
--diag_suppress=3311"
)
endif
()
# suppress warning 2979: calling a __host__ function from __host__ __device__ is not allowed
if
(
MSVC
)
set
(
cuda_warnings_suppressions
"
${
cuda_warnings_suppressions
}
--diag_suppress=2979 --diag_suppress=2976 --diag_suppress=3005 --diag_suppress=2978 --diag_suppress=3009"
)
endif
()
target_compile_options
(
${
library_name
}
PUBLIC $<$<COMPILE_LANGUAGE:CUDA>:-Xcudafe
${
cuda_warnings_suppressions
}
>
)
# we want to suppress all cuda warnings so far for this library.
target_compile_options
(
${
library_name
}
PUBLIC $<$<COMPILE_LANGUAGE:CUDA>:-Xcudafe
"-w"
>
)
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