diff options
Diffstat (limited to 'tools/pldt/org.eclipse.ptp.pldt.upc/html')
34 files changed, 0 insertions, 1206 deletions
diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/id_MYTHREAD.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/id_MYTHREAD.html deleted file mode 100644 index 367221c92..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/id_MYTHREAD.html +++ /dev/null @@ -1,23 +0,0 @@ -<h2><code>MYTHREAD</code> keyword</h2> - - -<h4>Description</h4> -<p> -<code>MYTHREAD</code> is an expression with a value of type int; it specifies the unique -thread index. -<br>The range of possible values is <code>0..THREADS-16</code>. -<h4>Example</h4> -<p>The following program prints the numbers 0 -through <code>THREADS-1</code>, in some order. -<pre> - #include <upc.h> - main(){ - printf("%d ",MYTHREAD); - } -</pre> -<p>See also <a href="id_THREADS.html"><code>THREADS</code></a>, - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/id_THREADS.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/id_THREADS.html deleted file mode 100644 index 9a0038318..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/id_THREADS.html +++ /dev/null @@ -1,15 +0,0 @@ -<h2><code><code>THREADS</code></code> keyword</h2> - - -<h4>Description</h4> -<p> -<code>THREADS</code> is an expression with a value of type <code>int</code>; it specifies the number of -threads and has the same value on every thread. Under the static <code>THREADS</code> -translation environment, <code>THREADS</code> is an <code>int</code>eger constant suitable for use in -#if preprocessing directives. - - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/id_UPC_MAX_BLOCK_SIZE.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/id_UPC_MAX_BLOCK_SIZE.html deleted file mode 100644 index f51f59c16..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/id_UPC_MAX_BLOCK_SIZE.html +++ /dev/null @@ -1,13 +0,0 @@ -<h2><code>UPC_MAX_BLOCK_SIZE</code> identifier</h2> - - -<h4>Description</h4> -<p> -<code>UPC_MAX_BLOCK_SIZE</code> is a predefined integer constant value. It indicates the -maximum value allowed in a layout qualifier for shared data. It shall be -suitable for use in <code>#if</code> preprocessing directives. - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/index.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/index.html deleted file mode 100644 index 01bb47654..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/index.html +++ /dev/null @@ -1,62 +0,0 @@ -<h2 id="top">UPC Statements</h2> -<ul> -<li><a href="keywords.html">Keywords/Identifiers</a> -<li><a href="keywords.html">Keywords</a> - -</ul> -<h2 id="top">UPC functions</h2> -<p>Termination of all threads -<ul> -<li><a href="upc_global_exit.html"> <code>upc_global_exit</code> </a> -</ul> -<p>Shared memory allocation functions -<ul> -<li><a href="upc_global_alloc.html"> <code>upc_global_alloc</code> </a> -<li><a href="upc_all_alloc.html"> <code>upc_all_alloc</code> </a> -<li><a href="upc_alloc.html"> <code>upc_alloc</code> </a> -<li><a href="upc_local_alloc.html"> <code>upc_local_alloc</code> </a> <i>deprecated</i> -<li><a href="upc_free.html"> <code>upc_free</code> </a> -</ul> - -<p>Pointer-to-shared manipulation functions -<ul> -<li><a href="upc_threadof.html"> <code>upc_threadof</code> </a> -<li><a href="upc_phaseof.html"> <code>upc_phaseof</code> </a> -<li><a href="upc_resetphase.html"> <code>upc_resetphase</code> </a> -<li><a href="upc_addrfield.html"> <code>upc_addrfield</code> </a> -<li><a href="upc_affinitysize.html"> <code>upc_affinitysize</code> </a> -</ul> - -<p>Lock functions -<ul> -<li><a href="upc_lock_t.html"> <code>upc_lock_t</code> </a> type -<li><a href="upc_global_lock_alloc.html"> <code>upc_global_lock_alloc</code> </a> -<li><a href="upc_all_lock_alloc.html"> <code>upc_all_lock_alloc</code> </a> -<li><a href="upc_lock_free.html"> <code>upc_lock_free</code> </a> -<li><a href="upc_lock.html"> <code>upc_lock</code> </a> -<li><a href="upc_lock_attempt.html"> <code>upc_lock_attempt</code> </a> -<li><a href="upc_unlock.html"> <code>upc_unlock</code> </a> -</ul> - -<p>Shared string handling functions -<ul> -<li><a href="upc_memcpy.html"> <code>upc_memcpy</code> </a> -<li><a href="upc_memget.html"> <code>upc_memget</code> </a> -<li><a href="upc_memcpy.html"> <code>upc_memcpy</code> </a> -<li><a href="upc_memset.html"> <code>upc_memset</code> </a> -</ul> - -<p>Collective Utilities -<ul> -<li><a href="upc_all_broadcast.html"> <code>upc_all_broadcast</code> </a> -<li><a href="upc_all_scatter.html"> <code>upc_all_scatter</code> </a> -<li><a href="upc_all_gather.html"> <code>upc_all_gather</code> </a> -<li><a href="upc_all_gather_all.html"> <code>upc_all_gather_all</code> </a> -<li><a href="upc_all_exchange.html"> <code>upc_all_exchange</code> </a> -<li><a href="upc_all_permute.html"> <code>upc_all_permute</code> </a> - -</ul> -<p> -See also <a href="terms.html">Terms, definitions, and symbols</a> -<p> -<a href="#top">Back to top</a>
\ No newline at end of file diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/keywords.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/keywords.html deleted file mode 100644 index 1e21ac3f6..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/keywords.html +++ /dev/null @@ -1,25 +0,0 @@ -<h2>UPC Keywords/Identifiers</h2> -<code> -<ul> -<li><a href="id_MYTHREAD.html">MYTHREAD </a> -<li><a href="id_relaxed.html">relaxed </a> -<li><a href="id_shared.html">shared </a> -<li><a href="id_strict.html">strict </a> -<li><a href="id_THREADS.html">THREADS </a> -<li><a href="id_upc_barrier.html">upc_barrier </a> -<li><a href="id_upc_blocksizeof.html">upc_blocksizeof </a> -<li><a href="id_upc_elemsizeof.html">upc_elemsizeof </a> -<li><a href="id_upc_fence.html">upc_fence </a> -<li><a href="id_upc_localsizeof.html">upc_localsizeof </a> -<li><a href="id_UPC_MAX_BLOCKSIZE.html">UPC_MAX_BLOCKSIZE </a> -<li><a href="id_upc_notify.html">upc_notify </a> -<li><a href="id_upc_wait.html">upc_wait </a> -<li><a href="id_upc_forall.html">upc_forall </a> -</ul> -</code> - - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/shared.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/shared.html deleted file mode 100644 index f5fe38d4f..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/shared.html +++ /dev/null @@ -1,18 +0,0 @@ -<h2><code><code>shared</code></code> keyword</h2> - - -<h4>Description</h4> -<p> -<code>shared</code> indicates a variable is shared between threads. -<p> -<pre> -shared int i; -shared [2] int a[200]; -strict shared int i; -</pre> - - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/terms.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/terms.html deleted file mode 100644 index abfa25031..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/terms.html +++ /dev/null @@ -1,91 +0,0 @@ -<h4 id="top">UPC Terms, definitions and symbols</h4> -<p> -For the purpose of these specifications the following definitions apply. - -<dl> -<dt><strong><strong>thread</strong></strong></dt> -<dd> -an instance of execution initiated by the execution environment at program -startup.</dd> - -<dt><strong> </strong></dt> -<dd> </dd> - -<dt><strong>object</strong></dt> -<dd> -region of data storage in the execution environment which can represent -values.</dd> - -<dt><strong>shared object </strong></dt> -<dd> -an object allocated using a shared-qualified declarator or by a library function -defined to create shared objects. -<p>Note: -All threads may access shared objects.</dd> - -<dt><strong>private object</strong></dt> -<dd> -any object which is not a shared object. -<p>Note: Each thread declares and creates its own private objects which no -other thread can access.</dd> -<dt><strong> shared array</strong></dt> -<dd> -an array with elements that have shared qualified type. -</dd> -<dt><strong>affinity</strong></dt> -<dd> -logical association between shared objects and threads. Each element of data -storage that contains shared objects has affinity to exactly one thread. -</dd> -<dt><strong>pointer-to-shared</strong></dt> -<dd> -a pointer whose referenced type is shared-qualified. -</dd> -<dt><strong> pointer-to-local</strong></dt> -<dd> -a pointer whose referenced type is not shared-qualified. -</dd> -<dt><strong>access</strong></dt> -<dd> -<execution-time action> to read or modify the value of an object by a thread. -<p>The file scope declaration int y; creates a separate object for each thread to access. -</dd> -<dt><strong>shared access</strong></dt> -<dd> -an access using an expression whose type is shared-qualified.</dd> -<dt><strong> strict shared read</strong></dt> -<dd> -a shared read access which is determined to be strict.</dd> -<dt><strong>strict shared write</strong></dt> -<dd> -a shared modify access which is determined to be strict </dd> -<dt><strong>relaxed shared read</strong></dt> -<dd> -a shared read access which is determined to be relaxed</dd> -<dt><strong>relaxed shared write</strong></dt> -<dd> -a shared modify access which is determined to be relaxed </dd> -<dt><strong>local access</strong></dt> -<dd> -an access using an expression whose type is not shared-qualified. -</dd> -<dt><strong>collective</strong></dt> -<dd> -a constraint placed on some language operations which requires evaluation -of such operations to be matched across all threads. The behavior of collective -operations is undefined unless all threads execute the same sequence of -collective operations.</dd> -<dt><strong>single-valued</strong></dt> -<dd> -an operand to a collective operation, which has the same value on every -thread. The behavior of the operation is otherwise undefined.</dd> -<dt><strong>phase</strong></dt> -<dd> -an unsigned integer value associated with a pointer-to-shared which indicates -the element-offset within an affinity block; used in pointer-to-shared -arithmetic to determine affinity boundaries</dd> -</dl> -<p>  -<p>  -<p><a href="#top">Back to top</a> -<p><a href="index.html">Back to index of all UPC functions</a>
\ No newline at end of file diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_addrfield.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_addrfield.html deleted file mode 100644 index b4133e688..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_addrfield.html +++ /dev/null @@ -1,19 +0,0 @@ -<h2>The <code>upc_addrfield</code> function</h2> - -<h4>Synopsis</h4> -<pre> - #include <upc.h> - size_t upc_addrfield(shared void *ptr); -</pre> -<p> -<h4>Description</h4> -<p> -The <code>upc_addrfield </code> function returns an implementation-defined value reflecting -the <q>local address</q>of the object pointed to by the pointer-to-shared -argument. - - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_affinitysize.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_affinitysize.html deleted file mode 100644 index de6b81fb5..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_affinitysize.html +++ /dev/null @@ -1,31 +0,0 @@ -<h2>The <code>upc_affinitysize</code> function</h2> - -<h4>Synopsis</h4> -<pre> - #include <upc.h> - size_t upc_affinitysize(size_t totalsize, - size_t nbytes, - size_t threadid); -</pre> -<p> -<h4>Description</h4> -<p> -The <code>upc_affinitysize </code> function is a convenience function which calculates the exact size -of the local portion of the data in a shared object with affinity to <code>threadid</code>. -<p>In the case of a dynamically allocated shared object, the <code>totalsize</code> argument -shall be <code>nbytes*nblocks</code> and the <code>nbytes</code> argument shall be <code>nbytes</code>, -where <code>nblocks</code> and <code>nbytes</code> are exactly as passed to <code>upc_global_alloc</code> or -<code>upc_all_alloc</code> when the object was allocated. -<p>In the case of a statically allocated shared object with declaration: -<pre> - shared [b] t d[s]; - </pre> -the <code>totalsize</code> argument shall be <code>s * sizeof(t)</code> and the <code>nbytes</code> argument -shall be <code>b * sizeof(t)</code>. If the block size is indefinite, <code>nbytes</code> shall be 0. -<p><code>threadid</code> shall be a value in <code>0..(THREADS-1)</code>. - - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_alloc.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_alloc.html deleted file mode 100644 index 4cb0943e0..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_alloc.html +++ /dev/null @@ -1,28 +0,0 @@ -<h2 >The <code>upc_all_alloc</code> </h2> - -<h4>Synopsis</h4> -<pre> - #include <upc.h> - shared void *upc_all_alloc(size_t nblocks, - size_t nbytes); -</pre> -<p> -<h4>Description</h4> - -<p> -The <code>upc_all_alloc </code> function allocates shared space compatible with the following -declaration: -<p><code> -shared [nbytes] char[nblocks * nbytes]. -</code></p> -<p> -The <code>upc_all_alloc </code> function returns the same pointer value on all threads. -If nblocks*nbytes is zero, the result is a null pointer-to-shared. -<p>The dynamic lifetime of an allocated object extends from the time any thread -completes the call to <code>upc_all_alloc </code> until any thread has deallocated the -object. - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_broadcast.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_broadcast.html deleted file mode 100644 index a34903c3f..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_broadcast.html +++ /dev/null @@ -1,77 +0,0 @@ -<h2>The <code>upc_all_broadcast</code> function</h2> -<h4>Purpose</h4> -<p>Copies a block of memory -<h4>Synopsis</h4> -<pre> - #include <upc.h> - #include <upc_collective.h> - void upc_all_broadcast(shared void * restrict dst, shared const void * restrict src, size_t nbytes, upc_flag_t flags); -</pre> -<p> -<h4>Description</h4> -<p> -The <code>upc_all_broadcast </code> function -copies a block of memory with affinity to -a single thread to a block of shared memory on each thread. The number of -bytes in each block is <code>nbytes</code>. -<p><code>nbytes</code> must be strictly greater than 0. -<p><code>upc_all_broadcast </code> function treats the <code>src</code> pointer as if it pointed to a -shared memory area with the type: -<pre> - shared [] char[nbytes] - </pre> -<p>The effect is equivalent to copying the entire array pointed to by <code>src</code> to each -block of <code>nbytes</code> bytes of a shared array <code>dst</code> with the type: -<pre> - shared [nbytes] char[nbytes * THREADS] -</pre> -<p>The target of the <code>dst</code> pointer must have affinity to thread 0. -<p>The <code>dst</code> pointer is treated as if it has phase 0. - -<ul> -<li>EXAMPLE 1 shows upc_all_broadcast - -<pre> -#include <upc.h> -#include <upc_collective.h> -shared int A[THREADS]; -shared int B[THREADS]; -// Initialize A. -upc_barrier; -upc_all_broadcast( B, &A[1], sizeof(int), - UPC_IN_NOSYNC | UPC_OUT_NOSYNC ); -upc_barrier; -</pre> - -<li>EXAMPLE 2: - -<pre> -#include <upc.h> -#include <upc_collective.h> -#define NELEMS 10 -shared [] int A[NELEMS]; -shared [NELEMS] int B[NELEMS*THREADS]; -// Initialize A. -upc_all_broadcast( B, A, sizeof(int)*NELEMS, - UPC_IN_ALLSYNC | UPC_OUT_ALLSYNC ); -</pre> -<li>EXAMPLE 3 shows <code>(A[3],A[4])</code> is broadcast to <code>(B[0],B[1]), (B[10],B[11]), -(B[20],B[21]), ..., (B[NELEMS*(THREADS-1)],B[NELEMS*(THREADS-1)+1]).</code> - -<pre> -#include <upc.h> -#include <upc_collective.h> -#define NELEMS 10 -shared [NELEMS] int A[NELEMS*THREADS]; -shared [NELEMS] int B[NELEMS*THREADS]; -// Initialize A. -upc_barrier; -upc_all_broadcast( B, &A[3], sizeof(int)*2, - UPC_IN_NOSYNC | UPC_OUT_NOSYNC ); -upc_barrier; -</pre> -</ul> -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_exchange.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_exchange.html deleted file mode 100644 index ac503381e..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_exchange.html +++ /dev/null @@ -1,72 +0,0 @@ -<h2>The <code>upc_all_exchange</code> function </h2> - -<h4>Synopsis</h4> -<pre> - #include <upc.h> - #include <upc_collective.h> - void upc_all_exchange(shared void * restrict dst, - shared const void * restrict src, - size_t nbytes, upc_flag_t flags); - </pre> -<p> -<h4>Description</h4> - -<p> -The <code>upc_all_exchange </code> function copies the ith block of memory from a shared -memory area that has affinity to thread j to the jth block of a shared memory -area that has affinity to thread i. The number of bytes in each block is -<code>nbytes</code>. -<p><code>nbytes</code> must be strictly greater than 0. -<p> -<p>The <code>upc_all_exchange </code> function treats the <code>src</code> pointer and the <code>dst</code> pointer -as if each pointed to a shared memory area of <code>nbytes * THREADS</code> bytes on each -thread and therefore had type: -<pre> - shared [nbytes * THREADS] char[nbytes * THREADS * THREADS] -</pre> -<p>The targets of the <code>src</code> and <code>dst</code> pointers must have affinity to thread 0. -<p>The <code>src</code> and <code>dst</code> pointers are treated as if they have phase 0. -<p>For each pair of threads i and j, the effect is equivalent to copying the ith -block of <code>nbytes</code> bytes that has affinity to thread j pointed to by <code>src</code> to the -jth block of <code>nbytes</code> bytes that has affinity to thread i pointed to by <code>dst</code>. -<ul> -<li>EXAMPLE 1 <code>upc_all_exchange </code> for the static THREADS translation environment. -<pre> -#include <upc.h> -#include <upc_collective.h> -#define NELEMS 10 -shared [NELEMS*THREADS] int A[THREADS][NELEMS*THREADS]; -shared [NELEMS*THREADS] int B[THREADS][NELEMS*THREADS]; -// Initialize A. -upc_barrier; -upc_all_exchange( B, A, NELEMS*sizeof(int), -UPC_IN_NOSYNC | UPC_OUT_NOSYNC ); -upc_barrier; -</pre> - -<li>EXAMPLE 2 <code>upc_all_exchange </code> for the dynamic THREADS translation environment. -<pre> -#include <upc.h> -#include <upc_collective.h> -#define NELEMS 10 -shared int *Adata, *Bdata; -shared [] int *myA, *myB; -int i; - -Adata = upc_all_alloc(THREADS*THREADS, NELEMS*sizeof(int)); -myA = (shared [] int *)&Adata[MYTHREAD]; -Bdata = upc_all_alloc(THREADS*THREADS, NELEMS*sizeof(int)); -myB = (shared [] int *)&Bdata[MYTHREAD]; -// Adata and Bdata contain THREADS*THREADS*NELEMS elements. -// myA and myB are MYTHREAD's rows of Adata and Bdata, resp. -// Initialize MYTHREAD's row of A. For example, -for (i=0; i<NELEMS*THREADS; i++) -myA[i] = MYTHREAD*10 + i; -upc_all_exchange( Bdata, Adata, NELEMS*sizeof(int), - UPC_IN_ALLSYNC | UPC_OUT_ALLSYNC ); -</pre> -</ul> -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_gather.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_gather.html deleted file mode 100644 index e5e55caef..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_gather.html +++ /dev/null @@ -1,67 +0,0 @@ -<h2>The <code>upc_all_gather</code> function</h2> - -<h4>Synopsis</h4> -<pre> - #include <upc.h> - #include <upc_collective.h> - void upc_all_gather(shared void * restrict dst, - shared const void * restrict src, - size_t nbytes, - upc_flag_t flags); -</pre> -<p> -<h4>Description</h4> -<p> -The <code>upc_all_gather </code> function -copies a block of shared memory that has -affinity to the ith thread to the ith block of a shared memory area that has -affinity to a single thread. The number of bytes in each block is <code>nbytes</code>. -<p><code>nbytes</code> must be strictly greater than 0. -<p>The upc all gather function treats the <code>src</code> pointer as if it pointed to a -shared memory area of <code>nbytes</code> bytes on each thread and therefore had type: -<pre> - shared [nbytes] char[nbytes * THREADS] -</pre> -<p>and it treats the <code>dst</code> pointer as if it pointed to a shared memory area with -the type: -<pre> - shared [] char[nbytes * THREADS] - </pre> -<p>The target of the <code>src</code> pointer must have affinity to thread 0. -<p>The <code>src</code> pointer is treated as if it has phase 0. -<p>For each thread i, the effect is equivalent to copying the block of <code>nbytes</code> bytes -pointed to by <code>src</code> that has affinity to thread i to the ith block of <code>nbytes</code> -bytes pointed to by <code>dst</code>. -<p> -<ul> -<li>EXAMPLE 1 <code>upc_all_gather </code> for the static THREADS translation environment. -<pre> -#include <upc.h> -#include <upc_collective.h> -#define NELEMS 10 -shared [NELEMS] int A[NELEMS*THREADS]; -shared [] int B[NELEMS*THREADS]; -// Initialize A. -upc_all_gather( B, A, sizeof(int)*NELEMS, -UPC_IN_ALLSYNC | UPC_OUT_ALLSYNC ); -</pre> -<li>EXAMPLE 2 <code>upc_all_gather </code> for the dynamic THREADS translation environment. -<pre> -#include <upc.h> -#include <upc_collective.h> -#define NELEMS 10 -shared [NELEMS] int A[NELEMS*THREADS]; -shared [] int *B; -B = (shared [] int *) upc_all_alloc(1,NELEMS*THREADS*sizeof(int)); -// Initialize A. -upc_barrier; -upc_all_gather( B, A, sizeof(int)*NELEMS, -UPC_IN_NOSYNC | UPC_OUT_NOSYNC ); -upc_barrier; -</pre> -<li> -<li> -</ul> -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br><p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_gather_all.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_gather_all.html deleted file mode 100644 index 4e3199e09..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_gather_all.html +++ /dev/null @@ -1,74 +0,0 @@ -<h2>The <code>upc_all_gather_all</code> function</h2> - -<h4>Synopsis</h4> -<pre> - #include <upc.h> - #include <upc_collective.h> - void upc_all_gather_all(shared void * restrict dst, - shared const void * restrict src, - size_t nbytes, - upc_flag_t flags); -</pre> -<p> -<h4>Description</h4> -<p> -The <code>upc_all_gather_all </code> function -copies a block of memory from one shared -memory area with affinity to the ith thread to the ith block of a shared -memory area on each thread. The number of bytes in each block is <code>nbytes</code>. -<p><code>nbytes</code> must be strictly greater than 0. -<p>The upc_all_gather_all function treats the <code>src</code> pointer as if it pointed to a -shared memory area of <code>nbytes</code> bytes on each thread and therefore had type: -<pre> -shared [nbytes] char[nbytes * THREADS] -</pre> -<p>and it treats the <code>dst</code> pointer as if it pointed to a shared memory area with -the type: -shared [nbytes * THREADS] char[nbytes * THREADS * THREADS] -<p>The targets of the <code>src</code> and <code>dst</code> pointers must have affinity to thread 0. -<p>The <code>src</code> and <code>dst</code> pointers are treated as if they have phase 0. -<p>The effect is equivalent to copying the ith block of <code>nbytes</code> bytes pointed to -by <code>src</code> to the ith block of <code>nbytes</code> bytes pointed to by <code>dst</code> that has affinity -to each thread. - - - -<p> -<ul> -<li> EXAMPLE 1 <code>upc_all_gather_all </code> for the static THREADS translation environment. -<pre> -#include <upc.h> -#include <upc_collective.h> -#define NELEMS 10 -shared [NELEMS] int A[NELEMS*THREADS]; -shared [NELEMS*THREADS] int B[THREADS][NELEMS*THREADS]; -// Initialize A. -upc_barrier; -upc_all_gather_all( B, A, sizeof(int)*NELEMS, -UPC_IN_NOSYNC | UPC_OUT_NOSYNC ); -upc_barrier; -</pre> -<li>EXAMPLE 2 <code>upc_all_gather_all </code> all for the dynamic THREADS translation -environment. -<pre> -#include <upc.h> -#include <upc_collective.h> -#define NELEMS 10 -shared [NELEMS] int A[NELEMS*THREADS]; -shared int *Bdata; -shared [] int *myB; -Bdata = upc_all_alloc(THREADS*THREADS, NELEMS*sizeof(int)); -myB = (shared [] int *)&Bdata[MYTHREAD]; -// Bdata contains THREADS*THREADS*NELEMS elements. -// myB is MYTHREADÕs row of Bdata. -// Initialize A. -upc_all_gather_all( Bdata, A, NELEMS*sizeof(int), -UPC_IN_ALLSYNC | UPC_OUT_ALLSYNC ); -</pre> -<li> -<li> -</ul> -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_lock_alloc.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_lock_alloc.html deleted file mode 100644 index 826291371..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_lock_alloc.html +++ /dev/null @@ -1,21 +0,0 @@ -<h2 >The <code>upc_all_lock_alloc</code> function </h2> - -<h4>Synopsis</h4> -<pre> - #include <upc.h> - upc_lock_t *upc_all_lock_alloc(void); -</pre> - -<p> -<h4>Description</h4> - -<p> -The <code>upc_all_lock_alloc</code> function dynamically allocates a lock and returns -a pointer to it. The lock is created in an unlocked state. -<p>The <code>upc_all_lock_alloc</code> function is a <i>collective</i> function. -The return value on every -thread points to the same lock object. -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_permute.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_permute.html deleted file mode 100644 index 86b93b466..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_permute.html +++ /dev/null @@ -1,57 +0,0 @@ -<h2>The <code>upc_all_permute</code> function</h2> - -<h4>Synopsis</h4> -<pre> - #include <upc.h> - #include <upc_collective.h> - void upc_all_permute(shared void * restrict dst, - shared const void * restrict src, - shared const int * restrict perm, - size_t nbytes, upc_flag_t flags); -</pre> -<p> -<h4>Description</h4> -<p> -The <code>upc_all_permute </code> function -copies a block of memory from a shared memory -area that has affinity to the ith thread to a block of a shared memory -that has affinity to thread perm[i]. The number of bytes in each block is -<code>nbytes</code>. -<p><code>nbytes</code> must be strictly greater than 0. -<p><code>perm[0..THREADS-1]</code> must contain <code>THREADS</code> -distinct values: -<code>0, 1, ..., THREADS-1.</code> -<p>The <code>upc_all_permute </code> function treats the <code>src</code> pointer and the <code>dst</code> pointer -as if each pointed to a shared memory area of <code>nbytes</code> bytes on each thread -and therefore had type: -<pre> - shared [<code>nbytes</code>] char[<code>nbytes</code> * THREADS] - </pre> -<p>The targets of the <code>src</code>, perm, and <code>dst</code> pointers must have affinity to thread 0. -<p>The <code>src</code> and <code>dst</code> pointers are treated as if they have phase 0. -<p>The effect is equivalent to copying the block of <code>nbytes</code> bytes that has affinity -to thread i pointed to by <code>src</code> to the block of <code>nbytes</code> bytes that has affinity -to thread perm[i] pointed to by <code>dst</code>. -<ul> -<li>EXAMPLE 1: <code>upc_all_permute</code> -<pre> -#include <upc.h> -#include <upc_collective.h> -#define NELEMS 10 -shared [NELEMS] int A[NELEMS*THREADS], B[NELEMS*THREADS]; -shared int P[THREADS]; -// Initialize A and P. -upc_barrier; -upc_all_permute( B, A, P, sizeof(int)*NELEMS, -UPC_IN_NOSYNC | UPC_OUT_NOSYNC ); -upc_barrier; -</pre> - -</ul> - - -</ul> -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_scatter.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_scatter.html deleted file mode 100644 index 5b21e9248..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_all_scatter.html +++ /dev/null @@ -1,76 +0,0 @@ -<h2>The <code>upc_all_scatter</code> function</h2> - -<h4>Synopsis</h4> -<pre> - #include <upc.h> - #include <upc_collective.h> - void upc_all_scatter(shared void * restrict dst, - shared const void * restrict src, - size_t nbytes, - upc_flag_t flags); - -</pre> -<p> -<h4>Description</h4> -<p> -The <code>upc_all_scatter </code> function -copies the ith block of an area of shared -memory with affinity to a single thread to a block of shared memory with -affinity to the ith thread. The number of bytes in each block is <code>nbytes</code>. -<p><code>nbytes</code> must be strictly greater than 0. -<p>The <code>upc_all_scatter </code> function treats the <code>src</code> pointer as if it pointed to a -shared memory area with the type: -<pre> - shared [] char[nbytes * THREADS] - </pre> -<p>and it treats the <code>dst</code> pointer as if it pointed to a shared memory area with -the type: -<pre> - shared [nbytes] char[nbytes * THREADS] -</pre> -<p>The target of the <code>dst</code> pointer must have affinity to thread 0. -<p>The <code>dst</code> pointer is treated as if it has phase 0. -<p>For each thread i, the effect is equivalent to copying the ith block of <code>nbytes</code> -bytes pointed to by <code>src</code> to the block of <code>nbytes</code> bytes pointed to by -<code>dst</code> that -has affinity to thread i. -<ul> -<li>EXAMPLE 1: <code>upc_all_scatter</code> for the dynamic THREADS translation environment. -<pre> -#include <upc.h> -#include <upc_collective.h> -#define NUMELEMS 10 -#define SRC_THREAD 1 -shared int *A; -shared [] int *myA, *srcA; -shared [NUMELEMS] int B[NUMELEMS*THREADS]; -// allocate and initialize an array distributed across all threads -A = upc_all_alloc(THREADS, THREADS*NUMELEMS*sizeof(int)); -myA = (shared [] int *) &A[MYTHREAD]; -for (i=0; i<NUMELEMS*THREADS; i++) -myA[i] = i + NUMELEMS*THREADS*MYTHREAD; // (for example) -// scatter the SRC_THREADÕs row of the array -srcA = (shared [] int *) &A[SRC_THREAD]; -upc_barrier; -upc_all_scatter( B, srcA, sizeof(int)*NUMELEMS, -UPC_IN_NOSYNC | UPC_OUT_NOSYNC); -upc_barrier; -</pre> -<li>EXAMPLE 2: <code>upc_all_scatter</code> for the static THREADS translation environment. -<pre> -#include <upc.h> -#include <upc_collective.h> -#define NELEMS 10 -shared [] int A[NELEMS*THREADS]; -shared [NELEMS] int B[NELEMS*THREADS]; - -// Initialize A. -upc_all_scatter( B, A, sizeof(int)*NELEMS, -UPC_IN_ALLSYNC | UPC_OUT_ALLSYNC ); -</pre> - -</ul> -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_alloc.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_alloc.html deleted file mode 100644 index 9f94bb0ca..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_alloc.html +++ /dev/null @@ -1,22 +0,0 @@ -<h2 >The <code>upc_alloc</code> function </h2> - -<h4>Synopsis</h4> -<pre> - #include <upc.h> - shared void *upc_alloc(size_t nbytes); -</pre> -<p> -<h4>Description</h4> - -<p> -The <code>upc_alloc </code> allocates shared space of at least <code>nbytes</code> bytes with -affinity to the calling thread. -<p> -<code>upc_alloc</code> is similar to malloc() except that it returns a pointer-to-shared -value. It is not a <i>collective</i> function. If <code>nbytes</code> is zero, the result is a null -pointer-to-shared. - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_free.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_free.html deleted file mode 100644 index 1dbf67927..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_free.html +++ /dev/null @@ -1,27 +0,0 @@ -<h2 >The <code>upc_free</code> function </h2> -<h4>Synopsis</h4> -<pre> - #include <upc.h> - void upc_free(shared void *ptr); -</pre> -<p> -<h4>Description</h4> - -<p> -The <code>upc_free </code> function frees the dynamically allocated shared storage pointed -to by <code>ptr</code>. If <code>ptr</code> is a null pointer, no action occurs. Otherwise, if the -argument does not match a pointer earlier returned by the -<a href="upc_alloc.html"><code>upc_alloc</code></a>, -<a href="upc_global_alloc.html"><code>upc_global_alloc</code></a>, -<a href="upc_all_alloc.html"><code>upc_all_alloc</code></a>, or -<a href="upc_local_alloc.html"><code>upc_local_alloc</code></a> -function, or if the -space has been deallocated by a previous call, by any thread -(i.e., only one thread may call <code>upc_free </code> for each allocation), -to <code>upc_free</code>, -the behavior is undefined. - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_global_alloc.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_global_alloc.html deleted file mode 100644 index 8373525d9..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_global_alloc.html +++ /dev/null @@ -1,26 +0,0 @@ -<h2 >upc_global_alloc</h2> - -<h4>Synopsis</h4> -<p> -<pre> - #include <upc.h> - shared void *upc_global_alloc(size_t nblocks, - size_t nbytes); -</pre> -<p> -<h4>Description</h4> - -<p> -The <code>upc_global_alloc</code> allocates shared space compatible with the declaration: -<p> -<code> -shared [nbytes] char[nblocks * nbytes]</code> -<p> -<code>upc_global_alloc</code> function is not a collective function. If called by -multiple threads, all threads which make the call get different allocations. If -<code>nblocks*nbytes</code> is zero, the result is a null pointer-to-shared. - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_global_exit.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_global_exit.html deleted file mode 100644 index 4b2f99874..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_global_exit.html +++ /dev/null @@ -1,18 +0,0 @@ -<h2 >The <code>upc_global_exit</code> function </h2> -<h4>Synopsis</h4> -<pre> - #include <upc.h> - void upc_global_exit(int status); -</pre> -<p> -<h4>Description</h4> -<p> -<code>upc_global_exit() </code> -flushes all I/O, releases all storage, and terminates the -execution for all active threads. - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> - diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_global_lock_alloc.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_global_lock_alloc.html deleted file mode 100644 index e4e35ffca..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_global_lock_alloc.html +++ /dev/null @@ -1,22 +0,0 @@ -<h2 >The <code>upc_global_lock_alloc</code> function </h2> -<h4>Synopsis</h4> -<p> - -<pre> - #include <upc.h> - upc_lock_t *upc_global_lock_alloc(void); -</pre> - -<p> -<h4>Description</h4> - -<p> -The <code>upc_global_lock_alloc </code> function dynamically allocates a lock and returns -a pointer to it. The lock is created in an unlocked state. -<p>The <code>upc_global_lock_alloc </code> function is not a <i>collective</i> function. If called -by multiple threads, all threads which make the call get different allocations. - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_local_alloc.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_local_alloc.html deleted file mode 100644 index 5247a1a69..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_local_alloc.html +++ /dev/null @@ -1,29 +0,0 @@ -<h2 >The <code>upc_local_alloc</code> function <i>deprecated</i> </h2> - -<h4>Synopsis</h4> -<p> -<pre> - #include <upc.h> - shared void *upc_local_alloc(size_t nblocks, - size_t nbytes); -</pre> -<p> -<h4>Description</h4> - -<p> -The <code>upc_local_alloc </code> function is deprecated and should not be used. UPC -programs should use the <code>upc_alloc </code> function instead. Support may be removed -in future versions of this specification. -<p> -The <code>upc_local_alloc </code> function allocates shared space of at least -<code>nblocks * nbytes </code> bytes with affinity to the calling thread. If -<code>nblocks * nbytes </code> is zero, -the result is a null pointer-to-shared. -<p> -<code>upc_local_alloc </code> is similar to malloc() except that it returns a pointer-to-shared -value. It is not a <i>collective</i> function. - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_lock.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_lock.html deleted file mode 100644 index b10919e1d..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_lock.html +++ /dev/null @@ -1,27 +0,0 @@ -<h2 >The <code>upc_lock</code> function </h2> - -<h4>Synopsis</h4> -<p> - -<pre> - #include <upc.h> - void upc_lock(upc_lock_t *ptr); -</pre> - -<p> -<h4>Description</h4> - -<p> -The <code>upc_lock</code> function sets the state of the lock pointed to by <code>ptr</code> to locked. -<p>If the lock is already in locked state due to the calling thread setting it to -locked state, the result is undefined. -<p>If the lock is already in locked state, then the calling thread waits for some -other thread to set the state to unlocked. -<p>Once the lock is in state unlocked, a single calling thread sets the state to -locked and the function returns. -<p>A null strict access is implied after a call to upc_lock(). - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_lock_attempt.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_lock_attempt.html deleted file mode 100644 index 7f92a9bc3..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_lock_attempt.html +++ /dev/null @@ -1,28 +0,0 @@ -<h2 >The <code>upc_lock_attempt</code> function </h2> - -<h4>Synopsis</h4> -<p> - -<pre> - #include <upc.h> - int upc_lock_attempt(upc_lock_t *ptr); -</pre> - -<p> -<h4>Description</h4> - -<p> -The <code>upc_lock_attempt</code> function attempts to set the state of the lock pointed -to by <code>ptr</code> to locked. -<p>If the lock is already in locked state due to the calling thread setting it to -locked state, the result is undefined. -<p>If the lock is already in locked state the function returns 0. -<p>If the lock is in state unlocked, a single calling thread sets the state to locked -and the function returns 1. -<p>A null strict access is implied after a call to upc_lock_attempt() that returns -1. - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_lock_free.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_lock_free.html deleted file mode 100644 index c56d3f3ed..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_lock_free.html +++ /dev/null @@ -1,32 +0,0 @@ -<h2 >The <code>upc_lock_free</code> function </h2> - -<h4>Synopsis</h4> -<p> - -<pre> - #include <upc.h> - upc_lock_t *upc_lock_free(upc_lock_t *ptr); -</pre> - -<p> -<h4>Description</h4> - -<p> -The <code>upc_lock_free</code> function frees all resources associated with the dynamically -allocated <code>upc_lock_t</code> pointed to by <code>ptr</code>. -If <code>ptr</code> is a null pointer, no -action occurs. -Otherwise, if the argument does not match a pointer earlier -returned by the <code>upc_global_lock_alloc</code> or -<code>upc_all_lock_alloc</code> function, -or if the lock has been deallocated by a previous call to <code>upc_lock_free</code>, -the behavior is undefined. -<p> -<code>upc_lock_free</code> succeeds regardless of whether the referenced lock is currently -unlocked or currently locked (by any thread). -<p>Any subsequent calls to locking functions from any thread using <code>ptr</code> have -undefined effects. This also applies to any thread currently calling <code>upc_lock</code>. -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_lock_t.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_lock_t.html deleted file mode 100644 index 42aa596a6..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_lock_t.html +++ /dev/null @@ -1,24 +0,0 @@ -<h2>The <code>upc_lock_t</code> type</h2> - -<h4>Synopsis</h4> -<p>The type declared is -<pre> - upc_lock_t -</pre> -<p> -<h4>Description</h4> -<p> -The type <code>upc_lock_t </code> is an opaque UPC type. <code>upc_lock_t </code> is a shared -datatype with incomplete type (as defined in [ISO/IEC00 Sec 6.2.5]). -Objects -of type <code>upc_lock_t </code> may therefore only be manipulated through pointers. -Such objects have two states called locked and unlocked. -<p>Two pointers to that reference the same lock object will compare as equal. -The results of applying upc_phaseof(), upc_threadof(), and upc_addrfield() -to such pointers are undefined. - - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_memcpy.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_memcpy.html deleted file mode 100644 index c5e4af646..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_memcpy.html +++ /dev/null @@ -1,33 +0,0 @@ -<h2 >The <code>upc_memcpy</code> function </h2> - -<h4>Synopsis</h4> -<p> - -<pre> - #include <upc.h> - void upc_memcpy(shared void * restrict dst, - shared const void * restrict src, - size_t n); - -</pre> - -<p> -<h4>Description</h4> - -<p> -The <code>upc_memcpy</code> function copies n characters from a shared object having -affinity with one thread to a shared object having affinity with the same or -another thread. -<p>The <code>upc_memcpy</code> function treats the <code>dst</code> and <code>src</code> pointers as if -they had type: -<pre> - shared [] char[n] -</pre> -The effect is equivalent to copying the entire contents from one shared array -object with this type (the <code>src</code> array) to another shared array object with -this type (the <code>dst</code> array). - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_memget.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_memget.html deleted file mode 100644 index 6cbc4441d..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_memget.html +++ /dev/null @@ -1,35 +0,0 @@ -<h2 >The <code>upc_memget</code> function </h2> - -<h4>Synopsis</h4> -<p> - -<pre> - #include <upc.h> - void upc_memget(void * restrict dst, - shared const void * restrict src, - size_t n); - -</pre> - -<p> -<h4>Description</h4> - -<p> -The <code>upc_memget</code> function copies n characters from a shared object with affinity -to any single thread to an object on the calling thread. -<p>The <code>upc_memget</code> function treats the <code>src</code> pointer as if it had type: -<pre> - shared [] char[n] - </pre> -The effect is equivalent to copying the entire contents from one shared array -object with this type (the <code>src</code> array) to an array object (the <code>dst</code> array) -declared with the type -<pre> - char[n] -</pre> - - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_memset.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_memset.html deleted file mode 100644 index 184d82082..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_memset.html +++ /dev/null @@ -1,32 +0,0 @@ -<h2 >The <code>upc_memset</code> function </h2> - -<h4>Synopsis</h4> -<p> - -<pre> - #include <upc.h> - void upc_memset(shared void *dst, - int c, - size_t n); - -</pre> - -<p> -<h4>Description</h4> - -<p> -The <code>upc_memset</code> function copies the value of c, converted to an unsigned -char, to a shared object with affinity to any single thread. The number of -bytes set is n. -<p>The <code>upc_memset</code> function treats the <code>dst</code> pointer as if had type: -<pre> - shared [] char[n] -</pre> - -The effect is equivalent to setting the entire contents of a shared array object -with this type (the <code>dst</code> array) to the value c. - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_phaseof.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_phaseof.html deleted file mode 100644 index bee4bfa59..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_phaseof.html +++ /dev/null @@ -1,19 +0,0 @@ -<h2>The <code>upc_phaseof</code> function</h2> - -<h4>Synopsis</h4> -<pre> #include <upc.h> - size_t upc_phaseof(shared void *ptr); -</pre> -<p> -<h4>Description</h4> - -<p> -The <code>upc_phaseof </code> function returns the phase component of the pointer-to-shared -argument. -<p>If <code>ptr</code> is a null pointer-to-shared, the function returns 0. - - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_resetphase.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_resetphase.html deleted file mode 100644 index 832780231..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_resetphase.html +++ /dev/null @@ -1,19 +0,0 @@ -<h2>The <code>upc_resetphase</code> function</h2> - -<h4>Synopsis</h4> -<pre> - #include <upc.h> - shared void *upc_resetphase(shared void *ptr); -</pre> -<p> -<h4>Description</h4> - -<p> -The <code>upc_resetphase </code> function returns a pointer-to-shared which is identical -to its input except that it has zero phase. - - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_threadof.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_threadof.html deleted file mode 100644 index a0b410b4e..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_threadof.html +++ /dev/null @@ -1,20 +0,0 @@ -<h2 >The <code>upc_threadof</code> function </h2> - -<h4>Synopsis</h4> -<p> -<pre> - #include <upc.h> - size_t upc_threadof(shared void *ptr); -</pre> -<p> -<h4>Description</h4> -<p> -The <code>upc_threadof </code>function returns the index of the thread that has affinity -to the shared object pointed to by <code>ptr</code>. -<p> -If <code>ptr</code> is a null pointer-to-shared, the function returns 0. - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> diff --git a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_unlock.html b/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_unlock.html deleted file mode 100644 index 112d0ab80..000000000 --- a/tools/pldt/org.eclipse.ptp.pldt.upc/html/upc_unlock.html +++ /dev/null @@ -1,24 +0,0 @@ -<h2 >The <code>upc_unlock</code> function </h2> - -<h4>Synopsis</h4> -<p> - -<pre> - #include <upc.h> - void upc_unlock(upc_lock_t *ptr); -</pre> - -<p> -<h4>Description</h4> - -<p> -The <code>upc_unlock</code> function sets the state of the lock pointed to by <code>ptr</code> to -unlocked. -<p>Unless the lock is in locked state and the calling thread is the locking thread, -the result is undefined. -<p>A null strict access is implied before a call to upc unlock(). - -<p>  -<p>  -<p><a href="terms.html">Terms, definitions, and symbols</a><br> -<p><a href="index.html">Back to index of all UPC functions</a> |