Skip to content
Snippets Groups Projects
Commit 9021f45e authored by William F Godoy's avatar William F Godoy
Browse files

Merge branch 'bp1read' of https://github.com/williamfgc/adios2 into bp1read

* 'bp1read' of https://github.com/williamfgc/adios2:
  Support PutDeferred() in ADIOS1 writer (#21)
parents a0a13705 474b9a4e
No related branches found
No related tags found
1 merge request!294Bp1read : Initial Reading Capabilities and latest API
......@@ -47,6 +47,12 @@ void ADIOS1Writer::Init()
#define declare_type(T) \
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, \
variable.m_Count, variable.m_Shape, \
......
......@@ -58,7 +58,8 @@ private:
void InitTransports() final;
#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)
#undef declare_type
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment