Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADIOS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Podhorszki, Norbert
ADIOS2
Commits
474b9a4e
Commit
474b9a4e
authored
7 years ago
by
pnorbert
Committed by
williamfgc
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Support PutDeferred() in ADIOS1 writer (#21)
parent
26031a9f
No related branches found
No related tags found
1 merge request
!294
Bp1read : Initial Reading Capabilities and latest API
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/adios2/engine/adios1/ADIOS1Writer.cpp
+6
-0
6 additions, 0 deletions
source/adios2/engine/adios1/ADIOS1Writer.cpp
source/adios2/engine/adios1/ADIOS1Writer.h
+2
-1
2 additions, 1 deletion
source/adios2/engine/adios1/ADIOS1Writer.h
with
8 additions
and
1 deletion
source/adios2/engine/adios1/ADIOS1Writer.cpp
+
6
−
0
View file @
474b9a4e
...
@@ -47,6 +47,12 @@ void ADIOS1Writer::Init()
...
@@ -47,6 +47,12 @@ void ADIOS1Writer::Init()
#define declare_type(T) \
#define declare_type(T) \
void ADIOS1Writer::DoPutSync(Variable<T> &variable, const T *values) \
void ADIOS1Writer::DoPutSync(Variable<T> &variable, const T *values) \
{ \
m_ADIOS1.WriteVariable(variable.m_Name, variable.m_ShapeID, \
variable.m_Count, variable.m_Shape, \
variable.m_Start, values); \
} \
void ADIOS1Writer::DoPutDeferred(Variable<T> &variable, const T *values) \
{ \
{ \
m_ADIOS1.WriteVariable(variable.m_Name, variable.m_ShapeID, \
m_ADIOS1.WriteVariable(variable.m_Name, variable.m_ShapeID, \
variable.m_Count, variable.m_Shape, \
variable.m_Count, variable.m_Shape, \
...
...
This diff is collapsed.
Click to expand it.
source/adios2/engine/adios1/ADIOS1Writer.h
+
2
−
1
View file @
474b9a4e
...
@@ -58,7 +58,8 @@ private:
...
@@ -58,7 +58,8 @@ private:
void
InitTransports
()
final
;
void
InitTransports
()
final
;
#define declare_type(T) \
#define declare_type(T) \
void DoPutSync(Variable<T> &variable, const T *values) final;
void DoPutSync(Variable<T> &variable, const T *values) final; \
void DoPutDeferred(Variable<T> &variable, const T *values) final;
ADIOS2_FOREACH_TYPE_1ARG
(
declare_type
)
ADIOS2_FOREACH_TYPE_1ARG
(
declare_type
)
#undef declare_type
#undef declare_type
};
};
...
...
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