Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
edge_opt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
3343
edge_opt
Commits
a61b6666
Commit
a61b6666
authored
Feb 01, 2021
by
Alexander Nikolas Breuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing reorder-only tests to plane waves 3d configs.
parent
ef5b3dfc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
18 deletions
+28
-18
bench/seismic/wp/plane_waves_3d/configs/gen.tar.xz
bench/seismic/wp/plane_waves_3d/configs/gen.tar.xz
+2
-2
bench/seismic/wp/plane_waves_3d/configs/gen_configs.js
bench/seismic/wp/plane_waves_3d/configs/gen_configs.js
+26
-16
No files found.
bench/seismic/wp/plane_waves_3d/configs/gen.tar.xz
LFS
View file @
a61b6666
No preview for this file type
bench/seismic/wp/plane_waves_3d/configs/gen_configs.js
View file @
a61b6666
...
...
@@ -35,26 +35,36 @@ var l_parts = [1, 8];
for
(
var
l_cl
=
0
;
l_cl
<
l_cls
.
length
;
l_cl
++
)
{
for
(
var
l_ty
=
0
;
l_ty
<
l_base
.
length
;
l_ty
++
)
{
for
(
var
l_pa
=
0
;
l_pa
<
l_parts
.
length
;
l_pa
++
)
{
console
.
log
(
'
generating config for char length / type / part:
'
,
l_cls
[
l_cl
],
'
/
'
,
l_base
[
l_ty
],
'
/
'
,
l_parts
[
l_pa
]
);
for
(
var
l_ro
=
0
;
l_ro
<
2
;
l_ro
++
)
{
var
l_id
=
l_base
[
l_ty
]
+
'
_cl_
'
+
l_cls
[
l_cl
]
+
'
_pa_
'
+
l_parts
[
l_pa
];
// create reorder-only mesh for parallel configs
if
(
l_base
[
l_ty
]
==
'
gts
'
&&
l_parts
[
l_pa
]
!=
1
&&
l_ro
==
1
)
{
l_id
=
l_id
+
'
_reorder_only
'
;
}
else
if
(
l_ro
==
1
)
{
continue
;
}
console
.
log
(
'
generating config for char length / type / part / reorder only:
'
,
l_cls
[
l_cl
],
'
/
'
,
l_base
[
l_ty
],
'
/
'
,
l_parts
[
l_pa
]
),
'
/
'
,
l_ro
;
var
l_meshBase
=
'
meshes/gen/edge_v/
'
+
l_base
[
l_ty
]
+
'
_cl_
'
+
l_cls
[
l_cl
]
+
'
_pa_
'
+
l_parts
[
l_pa
];
var
l_meshExt
=
'
.msh
'
;
var
l_config
=
'
gen/
'
+
l_base
[
l_ty
]
+
'
_cl_
'
+
l_cls
[
l_cl
]
+
'
_pa_
'
+
l_parts
[
l_pa
]
+
'
.xml
'
;
l_fs
.
outputFile
(
l_config
,
nunjucks
.
render
(
'
config.njk
'
,
{
i_meshBase
:
l_meshBase
,
i_meshExt
:
l_meshExt
,
i_errorXml
:
'
errors/
'
+
l_base
[
l_ty
]
+
'
_cl_
'
+
l_cls
[
l_cl
]
+
'
_pa_
'
+
l_parts
[
l_pa
]
+
'
.xml
'
var
l_meshBase
=
'
meshes/gen/edge_v/
'
+
l_id
;
var
l_meshExt
=
'
.msh
'
;
var
l_config
=
'
gen/
'
+
l_id
+
'
.xml
'
;
l_fs
.
outputFile
(
l_config
,
nunjucks
.
render
(
'
config.njk
'
,
{
i_meshBase
:
l_meshBase
,
i_meshExt
:
l_meshExt
,
i_errorXml
:
'
errors/
'
+
l_id
+
'
.xml
'
}
),
function
(
l_err
)
{
if
(
l_err
)
return
console
.
log
(
l_err
);
}
),
function
(
l_err
)
{
if
(
l_err
)
return
console
.
log
(
l_err
);
}
)
)
}
}
}
}
...
...
Write
Preview
Markdown
is supported
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