diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-10-19 20:29:46 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-10-19 20:29:46 +0000 |
commit | 5b3df657c568f67912e34f2114db52528fceb227 (patch) | |
tree | 0016f270de335c0531c1dd9ed29a1ce011bece2f /src/include | |
parent | abe203f65264325748ec22cbb256b96e3d1911a0 (diff) |
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
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cctk_Reduction.h | 3 |
1 files changed, 3 insertions, 0 deletions
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, |