Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Florian Weik
waLBerla
Commits
997ec0b7
Commit
997ec0b7
authored
Nov 15, 2018
by
Martin Bauer
Browse files
UniformGridGPU: Changes related to intel compiler
- intel 19 internal bug when using auto, and implicit capture in lambdas
parent
e17f9a53
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/benchmarks/UniformGridGPU/UniformGridGPU.cpp
View file @
997ec0b7
...
...
@@ -111,8 +111,8 @@ int main( int argc, char **argv )
{
{
auto
p
=
boundaryInnerStreams
.
parallelSection
(
innerStream
);
p
.
run
(
[
&
](
auto
s
)
{
ubb
.
inner
(
&
block
,
s
);
}
);
p
.
run
(
[
&
](
auto
s
)
{
noSlip
.
inner
(
&
block
,
s
);
}
);
p
.
run
(
[
&
block
,
&
ubb
](
cudaStream_t
s
)
{
ubb
.
inner
(
&
block
,
s
);
}
);
p
.
run
(
[
&
block
,
&
noSlip
](
cudaStream_t
s
)
{
noSlip
.
inner
(
&
block
,
s
);
}
);
}
lbKernel
.
inner
(
&
block
,
innerStream
);
}
...
...
@@ -125,8 +125,8 @@ int main( int argc, char **argv )
{
{
auto
p
=
boundaryOuterStreams
.
parallelSection
(
outerStream
);
p
.
run
(
[
&
](
auto
s
)
{
ubb
.
outer
(
&
block
,
s
);
}
);
p
.
run
(
[
&
](
auto
s
)
{
noSlip
.
outer
(
&
block
,
s
);
}
);
p
.
run
(
[
&
block
,
&
ubb
](
cudaStream_t
s
)
{
ubb
.
outer
(
&
block
,
s
);
}
);
p
.
run
(
[
&
block
,
&
noSlip
](
cudaStream_t
s
)
{
noSlip
.
outer
(
&
block
,
s
);
}
);
}
lbKernel
.
outer
(
&
block
,
outerStream
);
}
...
...
@@ -142,8 +142,8 @@ int main( int argc, char **argv )
{
{
auto
p
=
boundaryStreams
.
parallelSection
(
defaultStream
);
p
.
run
(
[
&
](
auto
s
)
{
ubb
(
&
block
,
s
);
}
);
p
.
run
(
[
&
](
auto
s
)
{
noSlip
(
&
block
,
s
);
}
);
p
.
run
(
[
&
block
,
&
ubb
](
cudaStream_t
s
)
{
ubb
(
&
block
,
s
);
}
);
p
.
run
(
[
&
block
,
&
noSlip
](
cudaStream_t
s
)
{
noSlip
(
&
block
,
s
);
}
);
}
lbKernel
(
&
block
);
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment