From 5b3df657c568f67912e34f2114db52528fceb227 Mon Sep 17 00:00:00 2001 From: goodale Date: Tue, 19 Oct 2004 20:29:46 +0000 Subject: Patch from Yaakoub to add a processor-number to reduce to to the Global reduction api. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3869 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/include/cctk_Reduction.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include') diff --git a/src/include/cctk_Reduction.h b/src/include/cctk_Reduction.h index 4f82022e..07744f0e 100644 --- a/src/include/cctk_Reduction.h +++ b/src/include/cctk_Reduction.h @@ -47,6 +47,7 @@ #define REDUCTION_GRID_ARRAY_OPERATOR_REGISTER_ARGLIST \ const cGH *GH, \ + int dest_proc, \ int local_reduce_handle, \ int param_table_handle, \ int N_input_arrays, \ @@ -81,6 +82,7 @@ typedef int (*cLocalArrayReduceOperator) (int N_dims, int operator_handle, /* prototype for GA reduction operator routine */ typedef int (*cGridArrayReduceOperator) (const cGH *GH, + int dest_proc, int local_reduce_handle, int param_table_handle, int N_input_arrays, @@ -150,6 +152,7 @@ int CCTK_NumLocalArrayReduceOperators(void); /* new GA reduction API */ int CCTK_ReduceGridArrays(const cGH *GH, + int dest_proc, int local_reduce_handle, int param_table_handle, int N_input_arrays, -- cgit v1.2.3