| <html>
|
| <head>
|
| <title>shmem_pe_accessible</title>
|
| </head>
|
| <h2 id="top">shmem_pe_accessible</h2>
|
| <h4>Purpose</h4>
|
|
|
|
|
| <p>Determines whether a processing element (PE) is accessible via IBM openshmem data transfers operations from the local processing element.
|
| </p>
|
|
|
| <h4>C syntax</h4>
|
|
|
| <pre>
|
| #include <shmem.h>
|
|
|
| int shmem_pe_accessible(int pe);
|
|
|
| </pre>
|
|
|
| <h4>Parameters</h4>
|
|
|
|
|
| <dl>
|
| <dt class="bold">INPUT</dt>
|
| <dd>
|
| </dd>
|
| <dt class="bold ">pe</dt>
|
| <dd>The processing element number of the PE that will access the local address.
|
| </dd>
|
| </dl>
|
|
|
| <h4>Description</h4>
|
|
|
| <div class="ledi">
|
| <p>The shmem_pe_accessible function returns 1 if the specified pe is accessible from the local PE; otherwise it returns 0.</p>
|
|
|
| <h4>IBM NOTES</h4>
|
| <div class="ledi">
|
| <dl>
|
| <p>In current implementation, all PEs will be accessible from any PE. Thus this function always returns 1 if the specified pe is in the range of 0 and (num_pes()1)</p>
|
| </dd>
|
| </dl>
|
|
|
| <h4>C examples</h4>
|
| <pre>
|
| </pre>
|
|
|
| <h4>Related information</h4>
|
|
|
| <p>Subroutines: shmem_addr_accessible
|
|
|
| </p>
|
| <hr><a href="apiIndex.html">OpenSHMEM API Index</a> |
| </html> |