Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Block-Strided RMA Operations #448

Merged
merged 8 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions content/backmatter.tex
Original file line number Diff line number Diff line change
Expand Up @@ -654,12 +654,17 @@ \subsection{Table~\ref{p2psynctypes}: point-to-point synchronization types}
\chapter{Changes to this Document}\label{sec:changelog}

\section{Version 1.6}
Major changes in \openshmem[1.6] include the addition of a new
\FUNC{shmem\_team\_ptr} function.
Major changes in \openshmem[1.6] include the addition of the new
\FUNC{shmem\_team\_ptr}, \FUNC{shmem\_ibget}, and \FUNC{shmem\_ibput}
functions.

The following list describes the specific changes in \openshmem[1.6]:
\begin{itemize}
%
\item Added interleaved block transfer APIs \FUNC{shmem\_ibget} and
\FUNC{shmem\_ibput}.
\ChangelogRef{subsec:shmem_ibget, subsec:shmem_ibput}%
%
\item Added a team-based pointer query routine:
\FUNC{shmem\_team\_ptr}.
\ChangelogRef{subsec:shmem_team_ptr}%
Expand All @@ -686,6 +691,7 @@ \section{Version 1.6}
2 to enable profiling with profile library defined effects and
additional arguments.
\ChangelogRef{subsec:shmem_pcontrol}
>>>>>>> master
jdinan marked this conversation as resolved.
Show resolved Hide resolved
%
\end{itemize}

Expand Down
22 changes: 14 additions & 8 deletions content/shmem_ibget.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@
The type of \dest{} should match that implied in the SYNOPSIS section.}
\apiargument{IN}{source}{Symmetric address of the source array data object.
The type of \source{} should match that implied in the SYNOPSIS section.}
\apiargument{IN}{dst}{The stride between consecutive elements of the \dest{}
array. The stride must be greater than or equal to \CONST{1} and is
scaled by the element size of the \dest{} array. A value of \CONST{1}
\apiargument{IN}{dst}{The stride between consecutive blocks of the \dest{}
array. The stride must be greater than or equal to \VAR{bsize} and is
scaled by the element size of the \dest{} array. A value of \VAR{bsize}
indicates contiguous data.}
\apiargument{IN}{sst}{The stride between consecutive elements of the \source{}
array. The stride must be greater than or equal to \CONST{1} and is
scaled by the element size of the \source{} array. A value of \CONST{1}
\apiargument{IN}{sst}{The stride between consecutive blocks of the \source{}
array. The stride must be greater than or equal to \VAR{bsize} and is
scaled by the element size of the \source{} array. A value of \VAR{bsize}
indicates contiguous data.}
\apiargument{IN}{bsize}{Number of elements per block in the \dest{} and \source{}
arrays.}
\apiargument{IN}{nblocks}{Number of blocks in the \dest{} and \source{}
arrays.}
\apiargument{IN}{nblocks}{Number of blocks to be copied from the \source{} array
to the \dest{} array.}
\apiargument{IN}{pe}{\ac{PE} number of the remote \ac{PE}.}
\end{apiarguments}

Expand All @@ -56,4 +56,10 @@
None.
}

jdinan marked this conversation as resolved.
Show resolved Hide resolved
\apinotes{
The \FUNC{shmem\_ibget} API provides a more general purpose interleaved
transfer API than \FUNC{shmem\_iget}. Calling \FUNC{shmem\_ibget} with a
block size of 1 is equivalent to the \FUNC{shmem\_iget} API.
}

\end{apidefinition}
24 changes: 15 additions & 9 deletions content/shmem_ibput.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,25 @@
The type of \dest{} should match that implied in the SYNOPSIS section.}
\apiargument{IN}{source}{Local address of the array containing the data to be copied.
The type of \source{} should match that implied in the SYNOPSIS section.}
\apiargument{IN}{dst}{The stride between consecutive elements of the \dest{}
array. The stride must be greater than or equal to \CONST{1} and is
scaled by the element size of the \dest{} array. A value of \CONST{1}
\apiargument{IN}{dst}{The stride between consecutive blocks of the \dest{}
array. The stride must be greater than or equal to \VAR{bsize} and is
scaled by the element size of the \dest{} array. A value of \VAR{bsize}
indicates contiguous data.}
\apiargument{IN}{sst}{The stride between consecutive elements of the \source{}
array. The stride must be greater than or equal to \CONST{1} and is
scaled by the element size of the \source{} array. A value of \CONST{1}
\apiargument{IN}{sst}{The stride between consecutive blocks of the \source{}
array. The stride must be greater than or equal to \VAR{bsize} and is
scaled by the element size of the \source{} array. A value of \VAR{bsize}
indicates contiguous data.}
\apiargument{IN}{bsize}{Number of elements per block in the \dest{} and \source{}
jdinan marked this conversation as resolved.
Show resolved Hide resolved
arrays.}
\apiargument{IN}{nblocks}{Number of blocks in the \dest{} and \source{}
arrays.}
\apiargument{IN}{nblocks}{Number of blocks to be copied from the \source{} array
to the \dest{} array.}
\apiargument{IN}{pe}{\ac{PE} number of the remote \ac{PE}.}
\end{apiarguments}


\apidescription{
The \FUNC{shmem\_ibput} routines provide a method for copying strided data
jdinan marked this conversation as resolved.
Show resolved Hide resolved
elements (specified by \VAR{sst}) of an array from a \source{} array on the
blocks (specified by \VAR{sst}) of an array from a \source{} array on the
local \ac{PE} to locations specified by stride \VAR{dst} on a \dest{} array
on specified remote \ac{PE}. The routines return when the data has
been copied out of the \VAR{source} array on the local \ac{PE} but not
Expand All @@ -59,4 +59,10 @@
None.
}

\apinotes{
The \FUNC{shmem\_ibput} API provides a more general purpose interleaved
transfer API than \FUNC{shmem\_iput}. Calling \FUNC{shmem\_ibput} with a
block size of 1 is equivalent to the \FUNC{shmem\_iput} API.
}

\end{apidefinition}