文件名称:sorting
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:61.96kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Assumptions
There are p processors sorting n numbers.
Each processor begins with n=p numbers stored in the array x
All numbers are in the range 0 : : : M 1
When the sorting algorithm ends, each processors has a sorted list of numbers and for i < j every
number in processor i is less than every number in processor j
Each processor can compare two numbers and swap them (if necessary) in time .
Each machine can send data to one other machine at a time (but cannot send and receive at the same
time)
It takes + k= time to send k numbers to another machine
id species the identier of the current machine
Local sort of k elements takes time approximately Ck log2 k
Programming assignment (Due 4/20) Write a short program to estimate on the Linux Lab machines.
(This requires no parallelism)
Programming assignment (Due 4/20) Write a short program using MPI to estimate and in the
Linux Lab.
-Assumptions
There are p processors sorting n numbers.
Each processor begins with n=p numbers stored in the array x
All numbers are in the range 0 : : : M 1
When the sorting algorithm ends, each processors has a sorted list of numbers and for i < j every
number in processor i is less than every number in processor j
Each processor can compare two numbers and swap them (if necessary) in time .
Each machine can send data to one other machine at a time (but cannot send and receive at the same
time)
It takes + k= time to send k numbers to another machine
id species the identier of the current machine
Local sort of k elements takes time approximately Ck log2 k
Programming assignment (Due 4/20) Write a short program to estimate on the Linux Lab machines.
(This requires no parallelism)
Programming assignment (Due 4/20) Write a short program using MPI to estimate and in the
Linux Lab.
There are p processors sorting n numbers.
Each processor begins with n=p numbers stored in the array x
All numbers are in the range 0 : : : M 1
When the sorting algorithm ends, each processors has a sorted list of numbers and for i < j every
number in processor i is less than every number in processor j
Each processor can compare two numbers and swap them (if necessary) in time .
Each machine can send data to one other machine at a time (but cannot send and receive at the same
time)
It takes + k= time to send k numbers to another machine
id species the identier of the current machine
Local sort of k elements takes time approximately Ck log2 k
Programming assignment (Due 4/20) Write a short program to estimate on the Linux Lab machines.
(This requires no parallelism)
Programming assignment (Due 4/20) Write a short program using MPI to estimate and in the
Linux Lab.
-Assumptions
There are p processors sorting n numbers.
Each processor begins with n=p numbers stored in the array x
All numbers are in the range 0 : : : M 1
When the sorting algorithm ends, each processors has a sorted list of numbers and for i < j every
number in processor i is less than every number in processor j
Each processor can compare two numbers and swap them (if necessary) in time .
Each machine can send data to one other machine at a time (but cannot send and receive at the same
time)
It takes + k= time to send k numbers to another machine
id species the identier of the current machine
Local sort of k elements takes time approximately Ck log2 k
Programming assignment (Due 4/20) Write a short program to estimate on the Linux Lab machines.
(This requires no parallelism)
Programming assignment (Due 4/20) Write a short program using MPI to estimate and in the
Linux Lab.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
sorting.pdf
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.