Пример #1
0
int ARMCI_GetS(void *src_ptr, int *src_stride_arr, void *dst_ptr, int *dst_stride_arr, int *count, int stride_levels, int proc)
{
    int ret;
    armci_profile_start_strided(count, stride_levels, proc, ARMCI_PROF_GETS);
    ret = PARMCI_GetS(src_ptr, src_stride_arr, dst_ptr, dst_stride_arr, count, stride_levels, proc);
    armci_profile_stop_strided(ARMCI_PROF_GETS);
    return ret;
}
Пример #2
0
int ARMCI_GetS(void *src_ptr, int *src_stride_arr, void *dst_ptr,
	       int *dst_stride_arr, int *count, int stride_levels,
	       int proc)
{
    int rval;
    static double stime, etime;
    stime = TIME();
    rval =
	PARMCI_GetS(src_ptr, src_stride_arr, dst_ptr, dst_stride_arr,
		    count, stride_levels, proc);
    etime = TIME();
    ARMCI_GetS_t += etime - stime;
    return rval;
}
Пример #3
0
int ARMCI_GetS(void *src_ptr, int src_stride_ar[], void *dst_ptr, int dst_stride_ar[], int count[], int stride_levels, int proc) {
  return PARMCI_GetS(src_ptr, src_stride_ar, dst_ptr, dst_stride_ar, count, stride_levels, proc);
}
Пример #4
0
/** Non-blocking operation that transfers data from the remote process to the
  * memory of the calling process.  The data transfer is strided and blocking.
  *
  * @param[in] src_ptr         Source starting address of the data block to put.
  * @param[in] src_stride_arr  Source array of stride distances in bytes.
  * @param[in] dst_ptr         Destination starting address to put data.
  * @param[in] dst_stride_ar   Destination array of stride distances in bytes.
  * @param[in] count           Block size in each dimension. count[0] should be the
  *                            number of bytes of contiguous data in leading dimension.
  * @param[in] stride_levels   The level of strides.
  * @param[in] proc            Remote process ID (destination).
  *
  * @return                    Zero on success, error code otherwise.
  */
int PARMCI_NbGetS(void *src_ptr, int src_stride_ar[/*stride_levels*/],
               void *dst_ptr, int dst_stride_ar[/*stride_levels*/], 
               int count[/*stride_levels+1*/], int stride_levels, int proc, armci_hdl_t *hdl) {

  return PARMCI_GetS(src_ptr, src_stride_ar, dst_ptr, dst_stride_ar, count, stride_levels, proc);
}