Skip to content

Commit 4ac134b

Browse files
author
Yu
committed
initialize PCU templates
1 parent 070d750 commit 4ac134b

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

python_wrappers/apf.i

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,26 @@ double PCU_Time(void);
5151
bool PCU_Comm_Initialized(PCU_t h);
5252
%include<pcu_defines.h>
5353
%include<PCU.h>
54+
%template(Add_int) pcu::PCU::Add<int>;
55+
%template(Min_int) pcu::PCU::Min<int>;
56+
%template(Max_int) pcu::PCU::Max<int>;
57+
%template(Exscan_int) pcu::PCU::Exscan<int>;
58+
%template(ALLgather_int) pcu::PCU::Allgather<int>;
59+
%template(Add_size_t) pcu::PCU::Add<size_t>;
60+
%template(Min_size_t) pcu::PCU::Min<size_t>;
61+
%template(Max_size_t) pcu::PCU::Max<size_t>;
62+
%template(Exscan_size_t) pcu::PCU::Exscan<size_t>;
63+
%template(ALLgather_size_t) pcu::PCU::Allgather<size_t>;
64+
%template(Add_long) pcu::PCU::Add<long>;
65+
%template(Min_long) pcu::PCU::Min<long>;
66+
%template(Max_long) pcu::PCU::Max<long>;
67+
%template(Exscan_long) pcu::PCU::Exscan<long>;
68+
%template(ALLgather_long) pcu::PCU::Allgather<long>;
69+
%template(Add_double) pcu::PCU::Add<double>;
70+
%template(Min_double) pcu::PCU::Min<double>;
71+
%template(Max_double) pcu::PCU::Max<double>;
72+
%template(Exscan_double) pcu::PCU::Exscan<double>;
73+
%template(ALLgather_double) pcu::PCU::Allgather<double>;
5474

5575
/* ==== FROM pcu_util.h ====*/
5676
void PCU_Assert_Fail(const char* msg);

0 commit comments

Comments
 (0)