Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ExaStencils
exastencils-release
Commits
1bed3b79
Commit
1bed3b79
authored
Feb 24, 2022
by
Richard Angersbach
Browse files
Use "MPI_Type_create_hvector" instead of "MPI_Type_hvector" as the latter was removed in MPI-3.0
parent
d49f7a91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Compiler/src/exastencils/io/ir/MPI_View.scala
View file @
1bed3b79
...
...
@@ -173,7 +173,7 @@ case class MPI_View(
getAccess
}
// create new datatype from old and free old afterwards
stmts
+=
IR_FunctionCall
(
IR_ExternalFunctionReference
(
"MPI_Type_hvector"
),
cellCountFrag
(
d
),
blocklength
,
stride
(
d
),
oldDatatype
,
IR_AddressOf
(
newDatatype
))
stmts
+=
IR_FunctionCall
(
IR_ExternalFunctionReference
(
"MPI_Type_
create_
hvector"
),
cellCountFrag
(
d
),
blocklength
,
stride
(
d
),
oldDatatype
,
IR_AddressOf
(
newDatatype
))
stmts
+=
commitDatatype
(
newDatatype
)
stmts
+=
freeDatatype
(
oldDatatype
)
...
...
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