
分布式编程
文章平均质量分 70
乱在长安
一位不甘平凡的码农
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
OPENMP 实现快速排序
// qwe.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include void quickSort(int *num,int low,int high);//进行分区 int Partition(int *num,int low,int high);//返回分离点 int _tmain(int argc, _TCHAR* arg原创 2014-06-22 13:22:58 · 7521 阅读 · 3 评论 -
OPENMP 实现判断任意两个数之间的素数个数
// abc.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" // OpenMp.cpp : 定义控制台应用程序的入口点。 //#include "stdafx.h" #include "omp.h" #include #include #include int isPrimeNumber(int num); int _tmai原创 2014-06-22 13:21:34 · 2278 阅读 · 0 评论 -
MPI 枚举排序实现
// DFDFDFSSFD.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include "stdlib.h" #include "stdio.h" #include "C:\Program Files\Microsoft HPC Pack 2008 R2\Inc\mpi.h" void countRank(int * rank,int原创 2014-06-22 13:12:31 · 1788 阅读 · 0 评论 -
MPI实现任意两个数之间的素数个数
#include "stdafx.h"#include "stdio.h"#include "string.h"#include "math.h"#include "C:\Program Files\Microsoft HPC Pack 2008 R2\Inc\mpi.h"int isPrimaryKey(int num);//不?是º?返¤¦Ì回?1,ê?是º?返¤¦Ì回?0int main(i原创 2014-06-21 20:31:08 · 1731 阅读 · 0 评论