Skip to content
Snippets Groups Projects
Commit 474b9a4e authored by pnorbert's avatar pnorbert Committed by williamfgc
Browse files

Support PutDeferred() in ADIOS1 writer (#21)

parent 26031a9f
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() ...@@ -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, \
......
...@@ -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
}; };
......
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