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
1eb89f4d
Commit
1eb89f4d
authored
3 years ago
by
Anna Wellmann
Browse files
Options
Downloads
Patches
Plain Diff
Add options for streams to config file
parent
4220ad82
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!104
Add Communication Hiding to GPU version
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/gpu/LBM/SphereScaling/configPhoenix8GPU.txt
+42
-0
42 additions, 0 deletions
apps/gpu/LBM/SphereScaling/configPhoenix8GPU.txt
src/gpu/VirtualFluids_GPU/Parameter/Parameter.cpp
+11
-0
11 additions, 0 deletions
src/gpu/VirtualFluids_GPU/Parameter/Parameter.cpp
with
53 additions
and
0 deletions
apps/gpu/LBM/SphereScaling/configPhoenix8GPU.txt
0 → 100644
+
42
−
0
View file @
1eb89f4d
##################################################
#GPU Mapping
##################################################
Devices="0 1 2 3 4 5 6 7"
NumberOfDevices=8
##################################################
#informations for Writing
##################################################
Path=/work/y0078217/Results/SphereScalingResults/8GPU/
#Path="F:/Work/Computations/out/SphereScaling/"
#Prefix="SphereScaling"
#WriteGrid=true
##################################################
#informations for reading
##################################################
GridPath=/work/y0078217/Grids/GridSphereScaling/SphereScaling4GPU/
#GridPath="C:"
##################################################
#number of grid levels
##################################################
#NOGL=1
##################################################
#LBM Version
##################################################
#D3Qxx=27
#MainKernelName=CumulantK17CompChim
##################################################
#simulation parameter
##################################################
TimeEnd=100000
TimeOut=100000
#TimeStartOut=0
##################################################
# CUDA Streams and optimized communication (only used for multiple GPUs)
##################################################
# useStreams = true
# useReducedCommunicationInInterpolation = true
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/gpu/VirtualFluids_GPU/Parameter/Parameter.cpp
+
11
−
0
View file @
1eb89f4d
...
@@ -199,7 +199,18 @@ void Parameter::readConfigData(const vf::basics::ConfigurationFile &configData)
...
@@ -199,7 +199,18 @@ void Parameter::readConfigData(const vf::basics::ConfigurationFile &configData)
if
(
configData
.
contains
(
"FactorPressBC"
))
if
(
configData
.
contains
(
"FactorPressBC"
))
this
->
setFactorPressBC
(
configData
.
getValue
<
real
>
(
"FactorPressBC"
));
this
->
setFactorPressBC
(
configData
.
getValue
<
real
>
(
"FactorPressBC"
));
//////////////////////////////////////////////////////////////////////////
// CUDA streams and optimized communication
if
(
this
->
getNumprocs
()
>
1
){
if
(
configData
.
contains
(
"useStreams"
))
if
(
configData
.
getValue
<
bool
>
(
"useStreams"
))
this
->
setUseStreams
();
if
(
configData
.
contains
(
"useReducedCommunicationInInterpolation"
))
this
->
useReducedCommunicationAfterFtoC
=
configData
.
getValue
<
bool
>
(
"useReducedCommunicationInInterpolation"
);
}
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
//read Geometry (STL)
//read Geometry (STL)
if
(
configData
.
contains
(
"ReadGeometry"
))
if
(
configData
.
contains
(
"ReadGeometry"
))
this
->
setReadGeo
(
configData
.
getValue
<
bool
>
(
"ReadGeometry"
));
this
->
setReadGeo
(
configData
.
getValue
<
bool
>
(
"ReadGeometry"
));
...
...
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