From bbe5c9c47d8c91a05a8941850fc007c98283b83d Mon Sep 17 00:00:00 2001 From: Lawrence Stewart Date: Thu, 22 Aug 2024 09:24:36 -0400 Subject: [PATCH 1/2] remove duplicate text --- content/shmem_test_all_vector.tex | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/shmem_test_all_vector.tex b/content/shmem_test_all_vector.tex index bad49c3a..429e4366 100644 --- a/content/shmem_test_all_vector.tex +++ b/content/shmem_test_all_vector.tex @@ -46,8 +46,7 @@ conditions. This routine compares each element of the \VAR{ivars} array in the test set with each respective value in \VAR{cmp\_values} according to the comparison operator \VAR{cmp} at the - calling \ac{PE}. If \VAR{nelems} is 0, the test set is empty and this - routine returns 1. + calling \ac{PE}. The optional \VAR{status} is a mask array of length \VAR{nelems} where each element corresponds to the respective element in \VAR{ivars} and indicates whether From 59ea0e330a4ea57910687d8edbb50e86eb7dec93 Mon Sep 17 00:00:00 2001 From: Lawrence Stewart Date: Fri, 27 Sep 2024 13:21:51 -0400 Subject: [PATCH 2/2] add missing const specifiers --- content/shmem_test_all_vector.tex | 4 ++-- content/shmem_test_any_vector.tex | 4 ++-- content/shmem_test_some_vector.tex | 4 ++-- content/shmem_wait_until_all_vector.tex | 4 ++-- content/shmem_wait_until_any_vector.tex | 4 ++-- content/shmem_wait_until_some_vector.tex | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/content/shmem_test_all_vector.tex b/content/shmem_test_all_vector.tex index 429e4366..9d5fa66f 100644 --- a/content/shmem_test_all_vector.tex +++ b/content/shmem_test_all_vector.tex @@ -7,14 +7,14 @@ \begin{C11synopsis} int @\FuncDecl{shmem\_test\_all\_vector}@(TYPE *ivars, size_t nelems, const int *status, int cmp, - TYPE *cmp_values); + const TYPE *cmp_values); \end{C11synopsis} where \TYPE{} is one of the standard \ac{AMO} types specified by Table \ref{stdamotypes}. \begin{Csynopsis} int @\FuncDecl{shmem\_\FuncParam{TYPENAME}\_test\_all\_vector}@(TYPE *ivars, size_t nelems, const int *status, int cmp, - TYPE *cmp_values); + const TYPE *cmp_values); \end{Csynopsis} where \TYPE{} is one of the standard \ac{AMO} types and has a corresponding \TYPENAME{} specified by Table \ref{stdamotypes}. diff --git a/content/shmem_test_any_vector.tex b/content/shmem_test_any_vector.tex index 8e3db96a..1bc6a0f0 100644 --- a/content/shmem_test_any_vector.tex +++ b/content/shmem_test_any_vector.tex @@ -7,14 +7,14 @@ \begin{C11synopsis} size_t @\FuncDecl{shmem\_test\_any\_vector}@(TYPE *ivars, size_t nelems, const int *status, int cmp, - TYPE *cmp_values); + const TYPE *cmp_values); \end{C11synopsis} where \TYPE{} is one of the standard \ac{AMO} types specified by Table \ref{stdamotypes}. \begin{Csynopsis} size_t @\FuncDecl{shmem\_\FuncParam{TYPENAME}\_test\_any\_vector}@(TYPE *ivars, size_t nelems, const int *status, - int cmp, TYPE *cmp_values); + int cmp, const TYPE *cmp_values); \end{Csynopsis} where \TYPE{} is one of the standard \ac{AMO} types and has a corresponding \TYPENAME{} specified by Table \ref{stdamotypes}. diff --git a/content/shmem_test_some_vector.tex b/content/shmem_test_some_vector.tex index 333302b0..85004126 100644 --- a/content/shmem_test_some_vector.tex +++ b/content/shmem_test_some_vector.tex @@ -7,14 +7,14 @@ \begin{C11synopsis} size_t @\FuncDecl{shmem\_test\_some\_vector}@(TYPE *ivars, size_t nelems, size_t *indices, const int *status, - int cmp, TYPE *cmp_values); + int cmp, const TYPE *cmp_values); \end{C11synopsis} where \TYPE{} is one of the standard \ac{AMO} types specified by Table \ref{stdamotypes}. \begin{Csynopsis} size_t @\FuncDecl{shmem\_\FuncParam{TYPENAME}\_test\_some\_vector}@(TYPE *ivars, size_t nelems, size_t *indices, - const int *status, int cmp, TYPE *cmp_values); + const int *status, int cmp, const TYPE *cmp_values); \end{Csynopsis} where \TYPE{} is one of the standard \ac{AMO} types and has a corresponding \TYPENAME{} specified by Table \ref{stdamotypes}. diff --git a/content/shmem_wait_until_all_vector.tex b/content/shmem_wait_until_all_vector.tex index a3abdf9c..c39aa91a 100644 --- a/content/shmem_wait_until_all_vector.tex +++ b/content/shmem_wait_until_all_vector.tex @@ -7,13 +7,13 @@ \begin{C11synopsis} void @\FuncDecl{shmem\_wait\_until\_all\_vector}@(TYPE *ivars, size_t nelems, const int *status, int cmp, - TYPE *cmp_values); + const TYPE *cmp_values); \end{C11synopsis} where \TYPE{} is one of the standard \ac{AMO} types specified by Table \ref{stdamotypes}. \begin{Csynopsis} -void @\FuncDecl{shmem\_\FuncParam{TYPENAME}\_wait\_until\_all\_vector}@(TYPE *ivars, size_t nelems, const int *status, int cmp, TYPE *cmp_values); +void @\FuncDecl{shmem\_\FuncParam{TYPENAME}\_wait\_until\_all\_vector}@(TYPE *ivars, size_t nelems, const int *status, int cmp, const TYPE *cmp_values); \end{Csynopsis} where \TYPE{} is one of the standard \ac{AMO} types and has a corresponding \TYPENAME{} specified by Table~\ref{stdamotypes}. diff --git a/content/shmem_wait_until_any_vector.tex b/content/shmem_wait_until_any_vector.tex index 09bcc5c7..41670254 100644 --- a/content/shmem_wait_until_any_vector.tex +++ b/content/shmem_wait_until_any_vector.tex @@ -7,14 +7,14 @@ \begin{C11synopsis} size_t @\FuncDecl{shmem\_wait\_until\_any\_vector}@(TYPE *ivars, size_t nelems, const int *status, int cmp, - TYPE *cmp_values); + const TYPE *cmp_values); \end{C11synopsis} where \TYPE{} is one of the standard \ac{AMO} types specified by Table \ref{stdamotypes}. \begin{Csynopsis} size_t @\FuncDecl{shmem\_\FuncParam{TYPENAME}\_wait\_until\_any\_vector}@(TYPE *ivars, size_t nelems, const int *status, - int cmp, TYPE *cmp_values); + int cmp, const TYPE *cmp_values); \end{Csynopsis} where \TYPE{} is one of the standard \ac{AMO} types and has a corresponding \TYPENAME{} specified by Table~\ref{stdamotypes}. diff --git a/content/shmem_wait_until_some_vector.tex b/content/shmem_wait_until_some_vector.tex index e3a414fb..34abd562 100644 --- a/content/shmem_wait_until_some_vector.tex +++ b/content/shmem_wait_until_some_vector.tex @@ -7,14 +7,14 @@ \begin{C11synopsis} size_t @\FuncDecl{shmem\_wait\_until\_some\_vector}@(TYPE *ivars, size_t nelems, size_t *indices, - const int *status, int cmp, TYPE *cmp_values); + const int *status, int cmp, const TYPE *cmp_values); \end{C11synopsis} where \TYPE{} is one of the standard \ac{AMO} types specified by Table \ref{stdamotypes}. \begin{Csynopsis} size_t @\FuncDecl{shmem\_\FuncParam{TYPENAME}\_wait\_until\_some\_vector}@(TYPE *ivars, size_t nelems, size_t *indices, - const int *status, int cmp, TYPE *cmp_values); + const int *status, int cmp, const TYPE *cmp_values); \end{Csynopsis} where \TYPE{} is one of the standard \ac{AMO} types and has a corresponding \TYPENAME{} specified by Table~\ref{stdamotypes}.